vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Cookie Expire hack (https://vborg.vbsupport.ru/showthread.php?t=20303)

Lord Satan 06-15-2001 08:14 AM

Is there a hack which forces cookies to expire after each session?
I have two boards on the same domain, and users from one can still se the second forum, even though they are not registered, and I tried everything and nothing works... :(

tubedogg 06-16-2001 01:01 AM

Have you set the cookie path for each board? If you set each one to a different directory they should not interfere with each other.

Lord Satan 06-16-2001 02:30 AM

One of them is on the vary main domain directory, as an .com/index.php and the second is one directory up.

The problem lies in the "remember both dots!!!" .xxx.com and so there is no way to set a separate directory for the .xxx.com as it is, since it thinks it is set for the whole domain...

The problem can be solved easier if you guys made the cookies with an option to have the "per session" expiration...

tubedogg 06-16-2001 02:55 AM

Have you tried leaving cookie domain blank and putting / for the cookie path on one board and /foldername/ for the cookie path on the other?

Expiring cookies per session would defeat the whole idea behind saving the username and password from session to session.


All times are GMT. The time now is 07:00 AM.

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.01049 seconds
  • Memory Usage 1,706KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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