Experts Round Table Network

ERT 1.5 => Bug reports => Topic started by: amarone on November 08, 2007, 09:09:22 AM



Title: Post cache
Post by: amarone on November 08, 2007, 09:09:22 AM
Hello, I hope this is the right area for my question.

Useful for those that cannot keep alive the session (for thousands of reasons).

I was writing a long message to put a question in the php forum. Not realizing that my session timed out, I clicked to get a preview and I was redirected to relog and then, automatically, to the home page. All my message was lost, the best I could do was navigating backwards with browser buttons to the last post before the session falling.
Is it possibile, in case of session 'revive', operating to keep the posted data and to be redirected to the last operation requested?

Thanks anyway
Iacopo


Title: Re: Post cache
Post by: CrYpTiC_MauleR on November 08, 2007, 12:32:17 PM
The same happens to me, I can get logged out within minutes while typing a message. What I usually do is copy my message to clipboard before I post so in case I was logged out I can backspace and just paste. I know its not the best solution, but I for one could not pinpoint why I was logging out so soon opposed to other users. The same session cookie is being sent and the server's session session settings are not set where it will destroy the session that soon. I will try to check the settings again this weekend, and look at any .htaccess files which may be possibly overriding something. The only solution for now is to copy your message to clipboard before you post as insurance in case you get logged out. Thanks for bringing this to our attention.

PS. moving this to the bugs forum


Title: Re: Post cache
Post by: amarone on November 08, 2007, 03:44:13 PM
It's exactly what happened to me the next two times I logged in.
One solution could be keeping posted data in a hidden field even in case of redirect to relog, by going there submitting a form action instead of using a header or something else (a get method couldn't be enough, because of it's length limits). Acting this way, data would be available even after a session crash or timeout.
Thank you for your quick answer and for... redirecting me hihi
Iac


Title: Re: Post cache
Post by: rdivilbiss on November 09, 2007, 04:40:24 PM
A login page cache would be helpful as well....e.g. you're reading a post, and login to reply and then have to go hunt for the post.

These issues are best addressed by the authors of the forum software, not by the site builders.

We had another site, Suspended Experts that we heavily tweaked the code and then were unable to update the forum code when security breaches were found and patches released.  The pit falls of custom mods.

Also, every one here is volunteering time and money to support the site,but I'l see if there is a mod or update that adresses the issues without breaking other mods.


Title: Re: Post cache
Post by: rdivilbiss on November 09, 2007, 05:05:36 PM
I didn't have time to go throughall the mods, but nothing jumped out at me as being helpful to our problems.


Title: Re: Post cache
Post by: GrandSchtroumpf on November 11, 2007, 11:11:12 PM
I don't have that problem when I use the "remember me" option at login time.


Title: Re: Post cache
Post by: rdivilbiss on November 13, 2007, 02:20:02 PM
I don't have that problem when I use the "remember me" option at login time.


I'm switching IP addresses often between logins, so that is probably why.