> >> 1. Use Javascript on the client-side that prompts the user to renew >> the session after (session timeout - 1) minutes. When they click OK, >> send an Ajax request that does nothing, that will extend the session. > > This sounds like the best way to go. The blur idea would work too, but > thinking of use cases I suspect most users would hit the timeout while > typing a longer proposal into a textarea. Sending a session update request > on every keystroke probably wouldn't be wise :)
To clarify my last statement. The time spent in a text field or check box will be brief so a blur is more likely to occur. The time spent in a single textarea field may be very long. The time between blurs could still exceed the session timeout. -- Brad _______________________________________________ Active4D-dev mailing list [email protected] http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
