----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
----------------------------------------------------------------
Otis Gospodnetic wrote:
> Is what fixed? We have been using session control via cookies with a one
> hour timeout and have had no problems whatsoever with session timeouts.
> aybe you are not using cookies properly?
>
> -- Is that the case when the user is constantly active? Can you try being
> idle for 5-10 minutes and then checking the session? JServ sets the
session
> cookie itself, I don't set the session cookie manually...
We know they leave it idle for long periods of time. We had the timeout
set at 1/2 hour and got many complaints of them coming back after 1/2
hour and getting session timeouts. We switched it to 1 hour and the
complaints went away. So, they are leaving the app idle for longer than
5 minutes of idle time and the app responds to them with there session
if they come back within 1 hour.
I must admint, I am just an admin and do not know what use they put the
cookies within Java.
---
Oh, that could be the reason :)
We overcome session expiration using our own cookies ("remember my username
+ password" type of feature), but that's not a very good solution for us
(not everyone will choose the "remember me" feature).
So what we do is have a series of checks:
1. session
2. our own cookie
3. the DB to see if the user was active within the last X seconds from the
same IP
But ideally our checks wouldn't have to go to steps 2 and 3 as often as they
do :(
Thanks,
Otis
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]