Popup warning kicks...
 
Notifications
Clear all

Popup warning kicks user back to chapter 1 in middle of multi-chapter fic

2 Posts
2 Users
0 Reactions
1,085 Views
(@sacrilege)
Posts: 0
 

URL to your eFiction: http://www.walkingtheplank.org/archive/index.php
Version of eFiction: 3.4.3
Have you bridged eFiction, if so with what?: I am told we have no bridges installed.
Version of PHP: 4.3.11
Version of MySQL: Sorry, don't have this info.
Have you searched for your problem: Yes. I've also manually gone through the thread listings in the 3.0 general support, bug reports, and solved bugs forums.
If so, what terms did you try: session, timeouts, timing out, warnings
Do you have a test account for us? I don't believe so.
State the nature of your problem:

Sorry for the vagueness of some of this info. Our server space is donated and we do not have access to some of the config info you ask for  😳

When a user reads a long multi-chaptered fic, s/he will sometimes get the age warning popup again halfway through reading the story, even though s/he has already responded to it at the beginning before starting the story.  Upon clicking ok to the warning, the user is then kicked back to Chapter 1 rather than being returned to the chapter they were in the middle of reading.

This seems to happen regardless of whether the user is logged in or not, and regardless of whether the user has profile settings saying that they don't require warning popups.  It also happens cross-browsers. (Has been reproduced on at least Opera and Firefox, possibly also on IE though I'm not sure about that last one)

Here is a link to a sample story that can reproduce this issue: http://www.walkingtheplank.org/archive/viewstory.php?sid=2628&warning=4

Our best guess is that it has something to do with a user's session timing out (so presumably this could happen with a one-chapter fic too, if it was long enough).

I was unable to reproduce this error until yesterday, when I finally stayed on a chapter long enough to induce the warning to kick in.  I don't know exactly how long it took, but I'm guessing it must have been at least 30 mins or so.

Is there something in the code we can edit to either extend/remove the timeout period altogether, or change the consent link so that it sends them back to the page which they were reading when they got interrupted, instead of to the first page?

So far I have found the warning section in viewstory.php and the title_link section in corefunctions.php, but I am not sure how to modify them, and I don't know which part of the code controls the session timeout periods.

Hoping you can help, as this particular issue is annoying quite a few of our users!  😳  πŸ™‚


 
Posted : 11/09/2008 1:27 am
(@tammy)
Posts: 2577
Member Moderator
 

Timeouts are controlled at the server level not in the script.  You could add the chapter number to the link in the viewstory.php warning section I think.


 
Posted : 20/09/2008 1:21 am
Share: