+ Reply to Thread
Results 1 to 10 of 10

Thread: Timeout during editing = lost of all edition

  1. #1
    Join Date
    Feb 2007
    Location
    Paris, France
    Posts
    165

    Default Timeout during editing = lost of all edition

    We are a lot of users confronted with the same problem :
    - we begin the edition of a page, and if we don't save regularly our input, after a long time (I don't know how much long) when clicking on Save option we come back to the login page
    - after relogin, we have lost all of the edition!
    So, my question :
    Where is stored this timeout value? (Wiki parameter, Apache parameter?)
    Is it possible to modify it without problems?
    Is it possible to de-activate (or increase) this timeout when we are editing a page?
    Last edited by Bizzz; 03-13-2007 at 06:51 PM.

  2. #2
    Join Date
    Feb 2007
    Posts
    1,871

    Default

    This is really weird - we do not have any *timeout* values. Do you have your wiki publicly available so I can take a look?

  3. #3

    Default session timeout?

    Quote Originally Posted by royk View Post
    This is really weird - we do not have any *timeout* values. Do you have your wiki publicly available so I can take a look?
    royk - is there any possibility that a PHP session timeout could be causing this? Would changing the session.gc_maxlifetime php variable affect this at all? Or clicking the "Remember me" when logging in?
    PeteE - MindTouch lackey
    Join #mindtouch on freenode for questions about MindTouch

  4. #4
    Join Date
    Feb 2007
    Location
    Paris, France
    Posts
    165

    Default I confirm this timeout

    Sorry for the delay.
    To Royk : no our Wiki is not publicly available.
    I'll try to make some new tests. But for example, this day during my lunch time (45 mn) I let my wiki with "Control Panel" screen displayed.
    45 mn later, when clicking on the screen, impossible to do anything because I returned to log in screen.
    It's not a problem in all usual cases. I think the real problem is only for long editing session (it's not very nice to loose all your input).

  5. #5
    Join Date
    Dec 2007
    Posts
    103

    Default

    I also experienced this. 2 hours of editing a How-to (man, i was in the groove)... Done! Click Save.... ARGGGGggggghhhhhh!!!!!!!

    There has to be some sort of session timeout someplace.

    puh-leez... I know i'm gonna get grief from users over this once the wiki is used heavily.

  6. #6
    Join Date
    Mar 2007
    Location
    Northampton, MA
    Posts
    622

    Default

    Man that must have been frustrating!!!

    hey there, I have learned from my experience with any other web based editor that it is risky to write lots of text without saving it.

    This is what I do:

    If I write more than a paragraph of text I save it to the clip board and then save it to the web application. This ensures that if I lose connection to the web application I still have a copy of the text in my clipboard.

    Granted it would be nice if there was an auto save feature.

    Are you all using the 1.8.3 beta version?
    Deki Wiki 10
    UBUNTU 10.04 LTS

  7. #7

    Default

    Quote Originally Posted by Andy Tane View Post
    I also experienced this. 2 hours of editing a How-to (man, i was in the groove)... Done! Click Save.... ARGGGGggggghhhhhh!!!!!!!

    There has to be some sort of session timeout someplace.

    puh-leez... I know i'm gonna get grief from users over this once the wiki is used heavily.
    Andy - Sorry to hear that

    You might want to try increasing the following value in your /etc/php5/apache2/php.ini

    Code:
    ; After this number of seconds, stored data will be seen as 'garbage' and
    ; cleaned up by the garbage collection process.
    session.gc_maxlifetime = 1440
    Then make sure to restart apache:

    Code:
    /etc/init.d/apache2 restart
    Chances are that your session timed out (24 minutes being php's default).
    PeteE - MindTouch lackey
    Join #mindtouch on freenode for questions about MindTouch

  8. #8
    Join Date
    Dec 2007
    Posts
    103

    Default

    Thanks for the info.

    I've changed it from 1440 (24 minutes) to 36000 (10 hours)

    I doubt that there will be any more than a hundred users per day touching the wiki, so i doubt it will hurt the garbage collection process.

    I'll update this thread with the results.

    Will I get another AAARRRrrrrggggghhh !!! moment?

    stay tuned...

  9. #9
    Join Date
    Feb 2007
    Posts
    1,871

    Default

    Sessions shouldn't affect this - we switched to cookie-only authentication in 1.8.3, which means as long as your cookie is active you remain logged in.

  10. #10
    Join Date
    Dec 2007
    Posts
    103

    Default

    Thats good to know. When I posted to this thread, i was still on 1.8.2b I switched to 1.8.3 one day too late. (I still haven't re-built that how-to. can't get back in the groove)

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts