Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 06 May 2008, 21:27
upirate upirate is offline
 
Join Date: Mar 2007
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
Reply With Quote
  #2  
Old 07 May 2008, 08:00
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Real name: Hanson
It has to be that way because of some cookie thing, I believe.
__________________
Former vBulletin.org Staff Member

View My Modifications
29 Releases and Counting... Latest Modification: dmActivityStream - vBookie Integration (4.x)

Please do not PM me to ask for support - please use the relevant thread or forum.
Reply With Quote
  #3  
Old 07 May 2008, 09:44
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
That is correct. This page is needed for cookie maintenance.
__________________
Marco van Herwaarden
Ex vBulletin.org Coordinator
Reply With Quote
  #4  
Old 10 May 2008, 07:23
upirate upirate is offline
 
Join Date: Mar 2007
Awww man!!! I so not wanted that screen.
Reply With Quote
  #5  
Old 25 May 2008, 20:29
sll-dcs sll-dcs is offline
 
Join Date: Jan 2008
Can someone please explain the "cookie thing"?
Reply With Quote
  #6  
Old 26 May 2008, 07:07
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Real name: Hanson
Look at what happens in the PHP files.
__________________
Former vBulletin.org Staff Member

View My Modifications
29 Releases and Counting... Latest Modification: dmActivityStream - vBookie Integration (4.x)

Please do not PM me to ask for support - please use the relevant thread or forum.
Reply With Quote
  #7  
Old 26 May 2008, 16:01
sll-dcs sll-dcs is offline
 
Join Date: Jan 2008
Originally Posted by Dismounted View Post
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?
Reply With Quote
  #8  
Old 27 May 2008, 08:35
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Real name: Hanson
Basically, cookies need to be removed and "maintained". This can't happen if no page is displayed.
__________________
Former vBulletin.org Staff Member

View My Modifications
29 Releases and Counting... Latest Modification: dmActivityStream - vBookie Integration (4.x)

Please do not PM me to ask for support - please use the relevant thread or forum.
Reply With Quote
  #9  
Old 27 May 2008, 12:31
sll-dcs sll-dcs is offline
 
Join Date: Jan 2008
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.
Reply With Quote
  #10  
Old 27 May 2008, 12:36
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Real name: Hanson
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.
__________________
Former vBulletin.org Staff Member

View My Modifications
29 Releases and Counting... Latest Modification: dmActivityStream - vBookie Integration (4.x)

Please do not PM me to ask for support - please use the relevant thread or forum.
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Logout Button replacing Logout text TheMusicMan vBulletin 3.5 Template Modifications 14 25 Dec 2007 18:33



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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


New To Site? Need Help?

All times are GMT. The time now is 13:45.

Layout Options | Width: Wide Color: