Re: SESSION Poblems

2001-12-10 Thread Rob Macfarlane

You can set it in web.xml or server.xml:

50

- rob


Catalin wrote:
> 
> Hi!
> 
> In wich file is setted the time witch the session remains valid
> without any operations made in my web-app.
> In my case, if I login to my application and I stay logged in without
> doing nothing for a half  an hour (30 min) I lose the session and I have to
> login again (to initiate a new session for my web application).
> 
> Thanks very much!!
> 
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: SESSION Poblems

2001-12-10 Thread Justin Rowles

> In wich file is setted the time witch the session remains valid
> without any operations made in my web-app.
> In my case, if I login to my application and I stay logged in without
> doing nothing for a half  an hour (30 min) I lose the session 
> and I have to
> login again (to initiate a new session for my web application).

Look for session-timeout (I think) in web.xml (I think!).

However, I find that that doesn't take effect, so I set it in the jsp file
with this:

request.getSession().setMaxInactiveInterval(TIMEOUT_SECONDS);

There is, however, *no* way to set it to never timeout.  Well, according to
the jsp spec, anyway.

J.
-- 
You're only jealous cos the little penguins are talking to me. 



***
For more information on Ordnance Survey products and services,
visit our web site at http://www.ordnancesurvey.co.uk
***




--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: SESSION Poblems

2001-12-10 Thread Ikke List

Hi Catalin,

You didn't look very well did you? This is part of the servlet 2.2 specs
that can be found at www.javesoft.com

It's in the web.xml file

xx



Regards, Wouter
-Original Message-
From: Catalin [mailto:[EMAIL PROTECTED]]
Sent: Monday, 10 December, 2001 23:29
To: [EMAIL PROTECTED]
Subject: SESSION Poblems


Hi!

In wich file is setted the time witch the session remains valid
without any operations made in my web-app.
In my case, if I login to my application and I stay logged in without
doing nothing for a half  an hour (30 min) I lose the session and I have to
login again (to initiate a new session for my web application).

Thanks very much!!



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




SESSION Poblems

2001-12-10 Thread Catalin

Hi!

In wich file is setted the time witch the session remains valid
without any operations made in my web-app.
In my case, if I login to my application and I stay logged in without
doing nothing for a half  an hour (30 min) I lose the session and I have to
login again (to initiate a new session for my web application).

Thanks very much!!



--
To unsubscribe:   
For additional commands: 
Troubles with the list: