Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-24-2007, 11:36 AM
mihai11 mihai11 is offline
 
Join Date: Dec 2005
Location: Sibiu - Romania
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 07-25-2007, 04:02 PM
mihai11 mihai11 is offline
 
Join Date: Dec 2005
Location: Sibiu - Romania
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Somebody ? Anybody ?
Reply With Quote
  #3  
Old 07-25-2007, 04:11 PM
MaestroX MaestroX is offline
 
Join Date: Aug 2006
Location: UK
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need cookies enabled to login to a vbulletin board anyway so I don't see what you would achieve by doing this.
Reply With Quote
  #4  
Old 07-25-2007, 04:18 PM
nexialys
Guest
 
Posts: n/a
Default

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...
Reply With Quote
  #5  
Old 07-25-2007, 04:29 PM
MaestroX MaestroX is offline
 
Join Date: Aug 2006
Location: UK
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #6  
Old 07-25-2007, 10:27 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 07-26-2007, 03:38 AM
mihai11 mihai11 is offline
 
Join Date: Dec 2005
Location: Sibiu - Romania
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by King Kovifor View Post
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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:35 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.03869 seconds
  • Memory Usage 2,215KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (6)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete