Navigate
Home
ArticleWiki
Forum
Journal
Search
Newsletter
Links
Tech News
expertsrt.com
Welcome Guest.
Username:

Password:

Remember me

Post cache
Welcome, Guest. Please login or register.
November 23, 2008, 08:04:15 AM
11307 Posts in 1250 Topics by 501 Members
Latest Member: rosaline
Experts Round Table Network  |  ERT 1.5  |  Bug reports  |  Post cache « previous next »
Pages: [1]
Author Topic: Post cache  (Read 952 times)
amarone

Offline Offline

Posts: 7


« 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
« Last Edit: November 08, 2007, 09:15:16 AM by amarone » Logged
CrYpTiC_MauleR
Moderator
*
Offline Offline

Posts: 489



WWW
« Reply #1 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
« Last Edit: November 08, 2007, 12:34:06 PM by CrYpTiC_MauleR » Logged

[x] Fight | www.crypticmauler.com
"You must be
amarone

Offline Offline

Posts: 7


« Reply #2 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
Logged
rdivilbiss
Governing Council Member
*
Offline Offline

Posts: 414



WWW
« Reply #3 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.
Logged

Rod
rdivilbiss
Governing Council Member
*
Offline Offline

Posts: 414



WWW
« Reply #4 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.
Logged

Rod
GrandSchtroumpf
Mentor

Offline Offline

Posts: 409



« Reply #5 on: November 11, 2007, 11:11:12 PM »

I don't have that problem when I use the "remember me" option at login time.
Logged
rdivilbiss
Governing Council Member
*
Offline Offline

Posts: 414



WWW
« Reply #6 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.
Logged

Rod
Pages: [1]
« previous next »
    Jump to: