Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Workaround session timeout too fast Details »
Workaround session timeout too fast
Mod Version: 1.00, by StewardManscat (Member) StewardManscat is offline
Developer Last Online: Nov 2009 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.3 Rating: (0 vote - 0 average) Installs: 0
Released: 13 Jul 2004 Last Update: Never Downloads:
Not Supported  

I posted a note on this subject earlier and cannot locate it now.
If it was moved or deleted please let me know so I do not make the same mistake again.

Meantime, another fellow is looking for this, and I don't want to post a hack at vbulletin.

Problem: something funny with php session logic (?) Some customers get logged out way too fast. Cannot use "remember me" because we are an adult site.

1. Change STANDARD ERROR and login templates so that the "remember me" field is type="hidden" and value="1"

2. In includes/functions.vbsetcookie add:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Result:

1. Users stay logged in for four hours. No instant session timeout.

2. Can now use the photopost vb forum integration right out of the box, no mussing with sessionhash cookie lookup

3. Can never have "remember me" (a good thing for our site).

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 13 Jul 2004, 00:59
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
Hmm ... you can define the cookie timeout in vBulletin settings.
No need for a hack?
Reply With Quote
  #3  
Old 13 Jul 2004, 04:47
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Real name: Zachery Woods
Originally Posted by KirbyDE
Hmm ... you can define the cookie timeout in vBulletin settings.
No need for a hack?
Im fairly sure KirbyDE is right.
__________________
Looking for ImpEx?
Reply With Quote
Reply


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

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 18:02.

Layout Options | Width: Wide Color: