On May 15, 2010, at 2:31 AM, Ryan Schmidt wrote: > On May 15, 2010, at 04:29, Joshua Root wrote: >> On 2010-5-15 17:04 , Ryan Schmidt wrote: >>> I'm constantly running into the error "Missing or invalid form token. Do >>> you have cookies enabled?" now when trying to deal with MacPorts tickets in >>> Trac. It's been a totally normal workflow for me to open a ticket and then >>> not try to write into it for a day or more as I'm thinking about how to >>> resolve it. This used to work, but presumably a Trac update has now caused >>> it to set a session token in my browser, which is now expiring before I >>> enter my changes? Worst part, sometimes when I get this message, I'll then >>> use Safari's back button to try to go back to the form, copy what I wrote, >>> reload the page, paste it back in and try to submit again. But already at >>> the first step, after I've hit the back button, the missing token message >>> appears there too. My changes are lost completely and I have to redo / >>> retype them. Is there a way to restore the prior behavior? >> >> This has happened for as long as I can remember if I have a ticket open, >> quit my browser, and then have it restore the previously open tabs when >> I launch it again. > > Ahh, that's exactly what happened. I guess my browser has just been crashing > more recently so I'm noticing this more. I'm using Stand to add this feature > to Safari; maybe that's where the problem is. (Stand should query the server > again to get a session cookie again?) >
Not much the server can do for you here... Sessions expire, especially when you quit your browser. If you're restoring old tabs, and the tab actually queries the server for a fresh copy of the page, the token would be different than what you had, but valid. That might fix your workflow. -Bill _______________________________________________ macports-dev mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
