Anyone getting logged out more often then usual again? I've been getting logged out a bit too often lately...
Just now I logged in, checked the syndicates, went to type a lengthy message and when I tried to post it I was logged out...
I know some ppl had the same problem some time ago, and it somehow went away..
I've sometimes been logged out in under the 10 minute timeout period. Homeworlds link *click* No, nothing I haven't already seen in the new photos uploaded. Syndicates link *click* What? Logged out? WTF that was less than a minute since the last click!
ok, well i've just re-enabled the FreshenSessionCookie($lifetimeSeconds); function. I can't remember why it was disabled. maybe it'll help.
oh, FYI: i've made it a habit of hitting [ctrl-a][ctrl-c] just before posting in forums. sessions are Dark Majiks which will turn on you when you least expect. one must be prepared.
well, if it's a really lengthy message I sometimes do that too... but Firefox has spoiled me a bit, since if you log in again in a different tab, then go back to the one where you tried to post and go back and forward or just refresh, it usually posts what should be lost... I think that's cause it saves postdata or whatchamacallit...
For reference, I've noticed that this early logout problem occurs mostly in FireFox 3.5, Google Chrome seems to not be affected, in my experience. I dunno if Firefox treats session cookies differently than Chrome, but if you get logged out a lot more than you want to be, try Chrome and see if it makes a difference.
Speaking of chrome I see that this week they announce support for greasemonkey scripts. One click install of scripts from userscripts (like Nardos) but so far it seems none of Nardo's are working in Chrome :(
(They did say that 15-25% of GM scripts won't work in Chrome yet.)
I tried installing some of them on the new Chrome to see if they would work. Fixing them to work with chrome was a total pain in the ass because Chrome won't install a new version over an old version so I have to manually uninstall the previous version and then the new version. For the frequent trial and error process of figuring out what part Chrome doesn't like, it got pretty annoying so I stopped.
I've figured out one of the problems which was preventing my scripts from running on Chrome and am able to fix it, but there's a much bigger problem with Chrome's implementation. Chrome doesn't support GM_getValue() or GM_setValue() which makes it worthless for most scripts. Without access to these functions, scripts won't be able to remember anything between requests and most scripts need to remember things. I can fix scripts like the trade route finder to work with Chrome, but scripts like the spacenav, food rememberer, quicklinks, last adventure, timesuit, healthifier, drone dropper, spader, facility creator, and many many more all need to use functionality that Chrome doesn't support.
Well, the guy who originally wrote GM is on the chrome team and is pretty committed to bringing full GM support into chrome eventually. So I suspect that given a few more months the incompatibilities will be taken care of.
There's also no support for GM_xmlhttpRequest yet which is pretty important for a number of scripts. Looking at the link from that blog post to the analysis of user scripts it seems fairly likely that get/set and xhr are going to be some of the first things they'll implement if they really want to get full GM support since they're the most commonly used GM functions.
Kind of a bummer that you can't just reinstall on top of an existing script though. I bet in another few months the support will be a lot nicer.
I just came back after being away for a few hours to find that I needed to log in again. Right before I loaded the page, however, I checked my FireFox cookies and the PHPSESSID cookie existed and was set to expire on Monday, so it doesn't seem like a client-side cookie issue.
Yeah, I don't know what's going on with that. It's weird because Chat uses the same sessionID, and it seems like that the session stays valid for chat even if the site session has expired (like you can be in chat and you won't be logged out of chat until you try to log in again to the site).