The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How would I reduce the expiration date of remember me cookie?
The remember me cookie is sets for a year, if I wanted to change this how would I without editing the files themselves?
I would like it limited to a Month but obviously don't want to set the general cookie timeout setting in admincp to this long? Any advice on where to start would be appreciated. |
#2
|
|||
|
|||
Looks like you would have to edit includes/functions.php, this section:
PHP Code:
which is around line 2158 in the 4.1.8 code. It seems there are only two choices for expiration, either "session", which lasts as long as the browser window stays open, or "permanent", which is coded to 1 year. So if you change it you'll be changing the timeout for any other "permanent" cookies (if there are any). |
#3
|
|||
|
|||
Had been hoping for a way to do it with a plugin rather than editing the file but thats better than nothing so thanks for your help
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|