I have a site written in JSP that uses session info to validate user's
sessions. I want to change the default timeout of the session from 60 mins
but I'm not sure what is controlling this or how/where to change it. Here
is more info to help figure this out...if anyone has any ideas I would
greatl
You can put this in your code:
session.setMaxInactiveInterval(time); // time in seconds
Josep R. Raurell
En/na Kenny G. Dubuisson, Jr. ha escrit:
I have a site written in JSP that uses session info to validate user's
sessions. I want to change the default timeout of the session from 60 mins
Will this keep it from generating a new session ID every 60 mins? Thanks
for the quick response.
Kenny
- Original Message -
From: "Josep R. Raurell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 17, 2002 10:24 AM
Subject: Re: session timeout s
escrit:
Will this keep it from generating a new session ID every 60 mins? Thanks
for the quick response.
Kenny
- Original Message -
From: "Josep R. Raurell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 17, 2002 10:24 AM
Subject: Re: s
12:11 AM
To: [EMAIL PROTECTED]
Subject: session timeout setting
I have a site written in JSP that uses session info to validate user's
sessions. I want to change the default timeout of the session from 60 mins
but I'm not sure what is controlling this or how/where to change it. Here
. Sent: Wednesday, 18 December, 2002 12:11 AM To:
> [EMAIL PROTECTED] Subject: session timeout setting
>
>
> I have a site written in JSP that uses session info to validate user's
> sessions. I want to change the default timeout of the session from 60
> mins but I'm not
an Meyer [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 20, 2002 12:43 AM
To: [EMAIL PROTECTED]
Subject: Re: session timeout setting
Yong How showed how to do this by setting a value in the web.xml
configuration file.
Another way to do it is is to make the following method call inside
th