vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Can I stop people with "cookies" disabled from login in ? (https://vborg.vbsupport.ru/showthread.php?t=153237)

mihai11 07-24-2007 11:36 AM

Can I stop people with "cookies" disabled from login in ?
 
This would be useful for me because I developped some modules and passing session ids all the time seems like a problem.

Experienced web masters should first answer another question: should I do it ?!? How many people have cookies disabled ? Do you have any statistics on this ?

Regards,
Razvan

mihai11 07-25-2007 04:02 PM

Somebody ? Anybody ?

MaestroX 07-25-2007 04:11 PM

You need cookies enabled to login to a vbulletin board anyway so I don't see what you would achieve by doing this.

nexialys 07-25-2007 04:18 PM

you do not need cookies enabled on vBulletin... filename.php?$session[sessionurl] is parsed in templates when you need to pass it to other pages... if you do not as a template designer, you miss a point...

MaestroX 07-25-2007 04:29 PM

:o I apologise I miss-answered your question

Quote:

if you do not as a template designer, you miss a point...
I'm fully aware of ?$session[sessionurl] passing sessions ids :rolleyes:

King Kovifor 07-25-2007 10:27 PM

I believe you can use the session table to fetch the session. Would be much easier. But I don't know about the session table. :(

mihai11 07-26-2007 03:38 AM

Quote:

Originally Posted by King Kovifor (Post 1301699)
I believe you can use the session table to fetch the session. Would be much easier. But I don't know about the session table. :(

If my understanding is correct, the session table only works in conjunction with either cookies or session IDs. In the session table there is all the info I need, BUT from the client side there must be something that identifies the session for a given particular user. That "something" is either "cookie information" or "session ID" embedded in each and single URL the user ever uses on the site.

Now, my problem is like this: I need to call a module with the session hash IF the cookies are disabled. Until now I used the "forum link" features. The problem is that when specifying a link in the "forum link" there is no way to supply a sessions hash in the URL because VB doesn't seem to parse variables inside a "forum link".

For this reason, I am thinking to disable session IDs. If all users would be using cookies then I would not have any problems because there would be no need to pass session IDs in the URL.

Currently, I have 2 dilemmas:
1) Is it possible to disable sessions IDs ? The user should only login if he has cookies enabled.
2) If it is possible, is it wise to do so ? I mean how many users have cookies disabled ?


The third solution (and the best one) would be to modify VB so that it will pass the session ID in the "forum link". The problem is that I don't know how this can be done.



Regards,
Razvan M.


All times are GMT. The time now is 12:09 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01094 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete