SMF Support > SMF 1.1.x Support
Cookies
Yeehaw:
This is too damn funny!
Ok, I've been messing around with load.php and loginout.php for the last 7 hours, cleaned up all the old yabbse folders and files (change your dirs in "themes&settings -> yabbse classic" before you do) so it looks approximately like SMF default install. Reloaded the stock load and loginout, ended up with using the Kris cookie hack due to the host header issue, so I was back to the same problem.
[Interlude]
Stared at monitor for 30 minutes
[/Interlude]
Had the bight idea of going to "edit features and options", changing the default cookie length to "3153600", and seeing where that took me. Firefox reports cookie good until "Thursday, March 25, 2010 4:08:50 PM". Good. That will keep my users happy for the time being.
So, hard-coding the cookie didn't work. Clicking the "Forever" box didn't work. Why? Why? Why?
I also wonder if the php sessions was doing something that stopped the cookie from being set correctly concerning length of time since it always dies at end of session.
[Unknown]:
Interesting. Actually, the cookie length you gave it would be 3153600 * 60, which is a CRAP OF A LOT.
So.. hmm... increase "forever" amount of time?
-[Unknown]
Yeehaw:
--- Quote from: [Unknown] on March 27, 2004, 01:24:00 AM ---Interesting. Actually, the cookie length you gave it would be 3153600 * 60, which is a CRAP OF A LOT.
-[Unknown]
--- End quote ---
Yeah, six years is pretty much forever as far as software is concerned, eh?
;)
[Unknown]:
! Changed cookie login time to a lot of years because it fixed some issues ;). (verified in many browers.)
We'll see, then.
-[Unknown]
Navigation
[0] Message Index
[*] Previous page
Go to full version