vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How to skip logout screen ? (https://vborg.vbsupport.ru/showthread.php?t=178364)

upirate 05-06-2008 07:27 PM

How to skip logout screen ?
 
I tried searching the forums for this simple hack where when someone clicks on logout, it takes them back to the previous page instead of the default behavior of asking whether to go to Forum home or go to previous page.

Thanks

Dismounted 05-07-2008 06:00 AM

It has to be that way because of some cookie thing, I believe.

Marco van Herwaarden 05-07-2008 07:44 AM

That is correct. This page is needed for cookie maintenance.

upirate 05-10-2008 05:23 AM

Awww man!!! I so not wanted that screen.

sll-dcs 05-25-2008 06:29 PM

Can someone please explain the "cookie thing"?

Dismounted 05-26-2008 05:07 AM

Look at what happens in the PHP files.

sll-dcs 05-26-2008 02:01 PM

Quote:

Originally Posted by Dismounted (Post 1531547)
Look at what happens in the PHP files.

I'm not savvy enough to know what I'm looking at or for.

Can you please explain what happens?

Dismounted 05-27-2008 06:35 AM

Basically, cookies need to be removed and "maintained". This can't happen if no page is displayed.

sll-dcs 05-27-2008 10:31 AM

Okay, getting closer to understanding this.

Removed and "maintained" sound like opposites. Can you elaborate a bit more?

Maintained how? By the browser (which seems to go against "removed")?

What happens if cookies are not removed and maintained?

Thanks much for helping a newbie.

Dismounted 05-27-2008 10:36 AM

Basically, cookies are handled client-side (by the browser). If you don't load any pages, the browser won't do anything. So to "logout" a user, we need to remove certain cookies, to do that, we need to send a page to the browser.


All times are GMT. The time now is 01:56 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.03007 seconds
  • Memory Usage 1,718KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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