Hi all,

I'm dealing with sessions in a project. Here people are editing some documents on-line, so it can take long, long time to complete a document.

The problem is that when it takes so long to edit a page and hitting the submit button in a form, the session has expired and the user looses all the work done.

I've been looking for about changing somewhere the session exiration time, but only found about the session cookie expiration.

Also, all examples I've found to not get the session expired talk about creating some sort of javascript wich reloads something on a frame, iframe, etc.

I've not found any information about session expiration timeout looking at the manual and searching google for many hours ...

So I came here to ask about:

- Wich is the default timeout for a session? And, is some way to know the expiration time for a session?

- Is anyway to change the session expiration timeout? I mean a PHP parameter or function. Javascript workarounds i've found are not valid for me.


BTW. Making this search I've found two interesting resources for managing data base driven sessions:


An interesting tutorial: http://www.devarticles.com/c/a/MySQL/Developing-Custom-PHP-Sessions

A nice class:
http://codewalkers.com/seecode/463.html

Best regards,
Jordi Canals

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to