Forum Moderators: coopster
I've built an app for a client that allows selected users to input a load of product sales data, from which returns some handy stats.
What's happening is that users are spending a long time over the form input so when the user hits submit (in one case over an hour later) the session has died, the user logged out and the data is lost.
Is it possible to maintain a session for that length of time, either via .htaccess or some other cunning piece of PHP ingenuity?
or do i have to go away and write a script which captures the form input when it times them out, so it's back there when the log in.
Any help would be greatly appreciated as usual
Hughie
This should provide a solution :)
I'll give that a whirl and leave it on my test system for a few hours and see what happens.
However i have implemented a system using javascript to refresh a 1x1 pixel php image which seems to have done the trick as well. Probably overkill but, once you get going on something it seems a shame to stop.
thanks,
hughie
It'd be more work to implement such a feature but I bet your client would love it. :)