Tomcat behind IIS - Session timeout is ignored

2005-10-05 Thread Tobias Meyer
Hello list, I have a problem with a tomcat 5.0.28 installation connected to IIS 6.0 (Windows 2003 server) with isapi_redirect.dll Everything is working well, except for the session timeout. The timeout is set to 60 minutes in the context's web.xml file (session-timeout60/session-timeout) which

Re: Session timeout issues

2005-09-16 Thread James Shaw
On 15/09/05, Leon Rosenberg [EMAIL PROTECTED] wrote: Hi, I don't know if this fits, but could it be, that your problem is related to the tomcat session synchronization bug? http://issues.apache.org/bugzilla/show_bug.cgi?id=36541 That does look like a potential issue. However, I think I

Re: Session timeout issues

2005-09-15 Thread James Shaw
On 14/09/05, James Shaw [EMAIL PROTECTED] wrote: I have two issues relating to sessions: 1) Sessions seem to be expired too soon. This happens very infrequently for me (perhaps 1 in 1000 requests). I'm adding some HttpSessionListeners and HttpSessionAttributeListeners to attempt to locate

Session timeout issues

2005-09-14 Thread James Shaw
I have two issues relating to sessions: 1) Sessions seem to be expired too soon. This happens very infrequently for me (perhaps 1 in 1000 requests). I'm adding some HttpSessionListeners and HttpSessionAttributeListeners to attempt to locate this problem, but have little to go on at the moment.

session timeout problems

2005-08-24 Thread Joerg
Hello, within my web application i defined a session timeout of 30 minutes. But some sessions strangly survive this timeout and keep being valid until an explicit call to invalidate(). I already implemented a HttpSessionListener to keep track of session creation, destruction, lastAccessedTime

How do you set the session timeout in tomcat so that the session only timeouts when the browser is closed?

2005-06-07 Thread Harland, David
How do you set the session timeout in tomcat so that the session only timeouts when the browser is closed? This e mail is from DLA Piper Rudnick Gray Cary UK LLP. The contents of this email and any attachments are confidential to the intended recipient. They may not be disclosed to or used

RE: How do you set the session timeout in tomcat so that the session only timeouts when the browser is closed?

2005-06-07 Thread Peter Crowther
From: Harland, David [mailto:[EMAIL PROTECTED] How do you set the session timeout in tomcat so that the session only timeouts when the browser is closed? You don't. There is no way in any Web architecture of reliably detecting whether a browser has closed, or whether it has merely

Re: How do you set the session timeout in tomcat so that the session only timeouts when the browser is closed?

2005-06-07 Thread Anto Paul
On 6/7/05, Harland, David [EMAIL PROTECTED] wrote: How do you set the session timeout in tomcat so that the session only timeouts when the browser is closed? Possible solution may be to refresh the page frequently and set a short interval for session time out. You might use a frame

delete temporary content after session timeout

2005-05-14 Thread Bob Wobbler
Hi, I have an app that uploads user files in a temporary folder. I want to delete them when the session ends. I know I could solve this with a cron-job, but I'm looking for a way to solve it with Tomcat. Does anyone have an idea how to solve it? Thx for your help in advance, cheers, Robert

Re: delete temporary content after session timeout

2005-05-14 Thread Frank W. Zammetti
Write a SessionListener... it has two methods, one that fires when a session is created, one when it is destroyed. That should do the trick for you. That's not a Tomcat-specific solution either, so it should be rather portable should you ever need to move to another app server. -- Frank W.

Re: delete temporary content after session timeout

2005-05-14 Thread Tim Diggins
that sounds very useful, not something I've done before -- can I ask a few questions - 1) how does one bind that into Tomcat -- declare a session listener in (I presume) web.xml? 2) as I'm using Spring Framework, is this still relevant (or is there a spring-specific way of binding in a

Re: delete temporary content after session timeout

2005-05-14 Thread Frank W. Zammetti
Let's see... (1) You are correct, it's nothing more than an entry in web.xml. Remember, this isn't a Tomcat-specific thing, it's a J2EE thing (servlet spec specifically I think), so it's YOUR APP'S web.xml. The entry is simply: listener

session-timeout

2005-04-14 Thread Cédric Buschini
Hi every, from web.xml: session-config session-timeout30/session-timeout /session-config Does the session-timeout refer to an idle session or an active session ? Thk in advance Cedric - To unsubscribe, e-mail: [EMAIL

Re: session-timeout

2005-04-14 Thread Tim Funk
If more than idle for 30 minutes. -Tim Cédric Buschini wrote: Hi every, from web.xml: session-config session-timeout30/session-timeout /session-config Does the session-timeout refer to an idle session or an active session

RE: session-timeout

2005-04-14 Thread Jay Burgess
[mailto:[EMAIL PROTECTED] Sent: Thursday, April 14, 2005 10:13 AM To: Tomcat Users List Subject: Re: session-timeout If more than idle for 30 minutes. -Tim Cédric Buschini wrote: Hi every, from web.xml: session-config session-timeout30/session-timeout /session-config Does

Re: session-timeout

2005-04-14 Thread Cédric Buschini
Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Thursday, April 14, 2005 10:13 AM To: Tomcat Users List Subject: Re: session-timeout If more than idle for 30 minutes. -Tim Cédric Buschini wrote: Hi every, from web.xml: session-config session-timeout30/session-timeout

Re: Way to specify SingleSignOn session timeout?

2005-04-14 Thread Jonathan Eric Miller
After looking at the code, it looks like the SSO session doesn't go away until all other sessions for the user have expired. So, as far as I can tell, the SSO session doesn't have it's own session timeout as far as I can tell. Jon - Original Message - From: Jonathan Eric Miller [EMAIL

Re: Way to specify SingleSignOn session timeout?

2005-04-14 Thread Jonathan Eric Miller
After looking at the code, it looks like the SSO session doesn't go away until all other sessions for the user have expired. So, as far as I can tell, the SSO session doesn't have it's own session timeout as far as I can tell. Jon - Original Message - From: Jonathan Eric Miller [EMAIL

Re: Way to specify SingleSignOn session timeout?

2005-04-14 Thread Remy Maucherat
On 4/14/05, Jonathan Eric Miller [EMAIL PROTECTED] wrote: After looking at the code, it looks like the SSO session doesn't go away until all other sessions for the user have expired. So, as far as I can tell, the SSO session doesn't have it's own session timeout as far as I can tell. Indeed

Re: Way to specify SingleSignOn session timeout?

2005-04-13 Thread Jonathan Eric Miller
is is presumably for the global session. Jon - Original Message - From: Peter Rossbach [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Tuesday, April 12, 2005 10:56 PM Subject: Re: Way to specify SingleSignOn session timeout? Look inside conf/web.xml !-- created sessions

Running code on session timeout

2005-04-13 Thread Chris Bender
Hey, I have been looking all over for a way to run code on a session time out. Basically, before a session times out, I need to perform some functionality on the data in that session. Ive read about Session Manager and Session Listeners, but I have not been able to find any examples of how

Re: Running code on session timeout

2005-04-13 Thread dshort
Java Server Pages, 3rd Edition, O'Reilly - great book. I can send you an example later tonight. - Original Message - From: Chris Bender [EMAIL PROTECTED] Date: Wednesday, April 13, 2005 10:26 am Subject: Running code on session timeout Hey, I have been looking all over for a way

Way to specify SingleSignOn session timeout?

2005-04-12 Thread Jonathan Eric Miller
I'm using the SingleSignOn valve with Tomcat 5.5.9. Does anyone know what the default session timeout is set to? Is there a way to specify this timeout? I'm finding that sometimes my session will timeout within an application, but, it doesn't redisplay the login page. I want to try to set

Re: Way to specify SingleSignOn session timeout?

2005-04-12 Thread Peter Rossbach
Look inside conf/web.xml !-- created sessions by modifying the value below. -- session-config session-timeout30/session-timeout /session-config Peter Jonathan Eric Miller schrieb: I'm using the SingleSignOn valve with Tomcat 5.5.9. Does anyone know what

Unlimited session timeout

2005-04-07 Thread David Causse
Hi, I need in some exceptionnal condition to disable the session timeout for one request. Is there some convenient way to do so? My idea is to do this but I'm unsure : In the exceptionnal servlet (at the beginning): session.setAttribute(OLD_TIMEOUT, new Integer(session.getMaxInactiveInterval

Re: Unlimited session timeout

2005-04-07 Thread fed fin
you can set timeout from Tomcat Admin = Connections. --- David Causse [EMAIL PROTECTED] wrote: Hi, I need in some exceptionnal condition to disable the session timeout for one request. Is there some convenient way to do so? My idea is to do this but I'm unsure : In the exceptionnal

Re: Unlimited session timeout

2005-04-07 Thread David Causse
It is not my problem. I need to change it for only one servlet. Thanks. fed fin wrote: you can set timeout from Tomcat Admin = Connections. --- David Causse [EMAIL PROTECTED] wrote: Hi, I need in some exceptionnal condition to disable the session timeout for one request. Is there some

Edit session timeout

2005-01-30 Thread Aris Javier
Hello! How to edit session timeout? Tomcat's default value is 30mins... 30 minutes of inactivity then a session will expire... In my apps, i think 30minutes is too long.. i want 5 minutes of inactivity before session expires... is it in server.xml? i only see connectionTimeout which is 2

Re: Edit session timeout

2005-01-30 Thread Wendy Smoak
From: Aris Javier [EMAIL PROTECTED] How to edit session timeout? Tomcat's default value is 30mins... Look in web.xml instead of server.xml. You can change it for the entire container, or on a per-webapp basis, depending on which web.xml you edit. (Works for Tomcat 4.1, I haven't moved to 5 yet

RE: Edit session timeout

2005-01-30 Thread Aris Javier
session timeout From: Aris Javier [EMAIL PROTECTED] How to edit session timeout? Tomcat's default value is 30mins... Look in web.xml instead of server.xml. You can change it for the entire container, or on a per-webapp basis, depending on which web.xml you edit. (Works for Tomcat 4.1, I haven't moved

RE: Edit session timeout

2005-01-30 Thread Caldarale, Charles R
From: Aris Javier [mailto:[EMAIL PROTECTED] Subject: RE: Edit session timeout I looked at my web.xml, and no sessionTimeout found there... can you give me an example on how to write it down in web.xml? Not sure what you meant by my web.xml, since, as Wendy noted, there's a global one

RE: Edit session timeout

2005-01-30 Thread Drew Jorgenson
session-config session-timeout120/session-timeout /session-config Look, at the web.xml file inside the conf directory, the global web.xml file that is. You can usually find this right above the mime-type mapping definitions. Drew. On Sun, 2005-01-30 at 20:28, Aris Javier wrote

RE: Edit session timeout

2005-01-30 Thread Aris Javier
Thanks Drew! I found it.. =) can I also use this setting per web app? by editing web.xml per web app? -Original Message- From: Drew Jorgenson [mailto:[EMAIL PROTECTED] Sent: Monday, January 31, 2005 12:41 PM To: Tomcat Users List Subject: RE: Edit session timeout session-config

Re: Edit session timeout

2005-01-30 Thread Parsons Technical Services
Yes. Doug - Original Message - From: Aris Javier [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Sunday, January 30, 2005 11:53 PM Subject: RE: Edit session timeout Thanks Drew! I found it.. =) can I also use this setting per web app? by editing web.xml per

RE: Edit session timeout

2005-01-30 Thread Aris Javier
Thanks Everybody! =) -Original Message- From: Parsons Technical Services [mailto:[EMAIL PROTECTED] Sent: Monday, January 31, 2005 12:56 PM To: Tomcat Users List Subject: Re: Edit session timeout Yes. Doug - Original Message - From: Aris Javier [EMAIL PROTECTED] To: Tomcat

Session timeout

2004-12-07 Thread Freddy Villalba A.
Hi everybody, Is it possible to configure the session timeout using the org.apache.catalina.session.StandardManager Session Manager or am I forced to use the Persistent Manager just for doing so? (Tomcat v4.1) Regards, F

Re: Session timeout

2004-12-07 Thread Trond G. Ziarkowski
How about trying? Put this inside your web-app in web.xml session-config session-timeout10/session-timeout /session-config The number within the session-timeout element must be expressed in minutes. Works for me with the StandardManager, in tomcat 5 Trond Freddy Villalba A. wrote: Hi everybody

RE: session-timeout means tomcat restart

2004-11-08 Thread Steve Kirk
... eh? You mention controller. Are you using TC as-is, or are you using a framework such as struts or JSF by any chance? If you suspect that the problem is triggered by a closing session, why not try shortening the session timeout to a shorter length and see if it crashes quicker? In fact, it's

Re: RE: session-timeout means tomcat restart

2004-11-08 Thread agidden
PROTECTED] Date: Monday, November 8, 2004 4:19 pm Subject: RE: session-timeout means tomcat restart Sorry for not replying sooner, I've been busy for a few days. Can you say more about the crashing? Any evidence from the logs? A bit difficult to be any more specific without more to go

Re: session-timeout means tomcat restart

2004-11-08 Thread Eric Wulff
mention controller. Are you using TC as-is, or are you using a framework such as struts or JSF by any chance? If you suspect that the problem is triggered by a closing session, why not try shortening the session timeout to a shorter length and see if it crashes quicker? In fact, it's worth

RE: RE: session-timeout means tomcat restart

2004-11-08 Thread Steve Kirk
sorry but no. what about the other points. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday 08 November 2004 22:37 To: Tomcat Users List Subject: Re: RE: session-timeout means tomcat restart We had a 'hung, and won't work without a reboot

Re: RE: session-timeout means tomcat restart

2004-11-08 Thread Eric Wulff
/. On Tue, 9 Nov 2004 00:51:09 -, Steve Kirk [EMAIL PROTECTED] wrote: sorry but no. what about the other points. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday 08 November 2004 22:37 To: Tomcat Users List Subject: Re: RE: session-timeout

RE: session-timeout means tomcat restart

2004-11-05 Thread Steve Kirk
-Original Message- From: Eric Wulff [mailto:[EMAIL PROTECTED] Sent: Friday 05 November 2004 07:01 To: Tomcat Users List Subject: session-timeout means tomcat restart Hi, I'm experiencing 2 interesting problems that may be related to my session timeout. 1. It seems

Re: session-timeout means tomcat restart

2004-11-05 Thread Eric Wulff
PROTECTED] Sent: Friday 05 November 2004 07:01 To: Tomcat Users List Subject: session-timeout means tomcat restart Hi, I'm experiencing 2 interesting problems that may be related to my session timeout. 1. It seems that when my session times out I need to restart tomcat, often just

Re: session-timeout means tomcat restart

2004-11-05 Thread Eric Wulff
PROTECTED] Sent: Friday 05 November 2004 07:01 To: Tomcat Users List Subject: session-timeout means tomcat restart Hi, I'm experiencing 2 interesting problems that may be related to my session timeout. 1. It seems that when my session times out I need to restart tomcat

session-timeout means tomcat restart

2004-11-04 Thread Eric Wulff
Hi, I'm experiencing 2 interesting problems that may be related to my session timeout. 1. It seems that when my session times out I need to restart tomcat, often just the application via reload in the manager, in order to gain access to my db again. Could this be because I've been accessing

RE: session-timeout is out by factor of 100?

2004-09-20 Thread Shapira, Yoav
Hi, How are you checking the time remaining for a session? Yoav Shapira Millennium Research Informatics -Original Message- From: Peter Johnson [mailto:[EMAIL PROTECTED] Sent: Monday, September 20, 2004 12:24 AM To: Tomcat Users List Subject: session-timeout is out by factor of 100? Hi

RE: session-timeout is out by factor of 100?

2004-09-20 Thread Peter Johnson
Research Informatics -Original Message- From: Peter Johnson [mailto:[EMAIL PROTECTED] Sent: Monday, September 20, 2004 12:24 AM To: Tomcat Users List Subject: session-timeout is out by factor of 100? Hi, Is anyone successfully using the web.xml session timeout configuration

RE: session-timeout is out by factor of 100?

2004-09-20 Thread Peter Johnson
are you checking the time remaining for a session? Yoav Shapira Millennium Research Informatics -Original Message- From: Peter Johnson [mailto:[EMAIL PROTECTED] Sent: Monday, September 20, 2004 12:24 AM To: Tomcat Users List Subject: session-timeout is out by factor

session-timeout is out by factor of 100?

2004-09-19 Thread Peter Johnson
Hi, Is anyone successfully using the web.xml session timeout configuration with Tomcat 5.0.25? Testing seems to indicate that this setting is out by a factor of 100 however using session.setMaxInactiveInterval seems to yield the desired result. E.g. Printing the time remaining (in ms

RE: session timeout: web.xml and setMaxInactiveInterval(int)

2004-07-16 Thread Dale, Matt
Message- From: Stephen Charles Huey [mailto:[EMAIL PROTECTED] Sent: 15 July 2004 22:44 To: Tomcat User Subject: session timeout: web.xml and setMaxInactiveInterval(int) My web.xml has the following: session-config session-timeout30/session-timeout /session-config However, when

session timeout: web.xml and setMaxInactiveInterval(int)

2004-07-15 Thread Stephen Charles Huey
My web.xml has the following: session-config session-timeout30/session-timeout /session-config However, when a user logs in, the following code in our app gets executed: HttpSession session = request.getSession(false); session.setMaxInactiveInterval(7200); I've

RE: Session Timeout Error

2004-06-21 Thread Kommuru, Bhaskar
I do not remember where i can set session time our for a web-app? But i think you must also set keepalive time, if i am not wrong :~)) -Original Message- From: Matt Krone [mailto:[EMAIL PROTECTED] Sent: Friday, June 18, 2004 5:49 PM To: [EMAIL PROTECTED] Subject: Session Timeout Error

Session Timeout Error

2004-06-18 Thread Matt Krone
The web application I developed has a session-timeout setting of 10 minutes. When I authenticate with the application using the web browser Mozila 1.6 the session times out in 10 minutes. However, when I use the web browser IE 6.0 the session does not time out in 10 minutes. Any thoughts would

Re: Session Timeout and Direct Reference to login page

2004-05-27 Thread Veniamin Fichin
Jonathan Eric Miller wrote: The strange thing is that this page seems to only intermittently be displayed. i.e. it is catching the case where the session expires, but, in some cases since I'm using container based security, it is going back to the login page. Sometimes it goes to this page first,

Re: Session Timeout and Direct Reference to login page

2004-05-24 Thread Jonathan Eric Miller
: Friday, May 21, 2004 7:15 AM Subject: Re: Session Timeout and Direct Reference to login page Jonathan Eric Miller wrote: Yeah, that seems like it would work. I'm wondering if I could maybe use a filter by itself though and not use the listener and do something like the following. 1

Re: Session Timeout and Direct Reference to login page

2004-05-21 Thread Veniamin Fichin
Jonathan Eric Miller wrote: Yeah, that seems like it would work. I'm wondering if I could maybe use a filter by itself though and not use the listener and do something like the following. 1. Intercept all requests with a filter. 2. Get the HttpSession out of the request. Get the session ID by

Re: Session Timeout and Direct Reference to login page

2004-05-20 Thread Veniamin Fichin
Jonathan Eric Miller wrote: Thanks. I think option #1 is what I'm looking for. What I don't understand is what I need to do with the session listener though? I don't understand how to determine whether the new session is truly new, or if it's a new session because a previous session timed out.

Re: Session Timeout and Direct Reference to login page

2004-05-20 Thread Ben Souther
Message - From: QM [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, May 19, 2004 3:16 PM Subject: Re: Session Timeout and Direct Reference to login page On Wed, May 19, 2004 at 02:58:05PM -0500, Jonathan Eric Miller wrote: : All I want to do is detect when

Re: Session Timeout and Direct Reference to login page

2004-05-20 Thread Jonathan Eric Miller
[EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, May 20, 2004 2:59 AM Subject: Re: Session Timeout and Direct Reference to login page Jonathan Eric Miller wrote: Thanks. I think option #1 is what I'm looking for. What I don't understand is what I need to do

Re: Session Timeout and Direct Reference to login page

2004-05-20 Thread Ben Souther
to work. Jon - Original Message - From: Veniamin Fichin [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, May 20, 2004 2:59 AM Subject: Re: Session Timeout and Direct Reference to login page Jonathan Eric Miller wrote: Thanks. I think option #1 is what

Re: Session Timeout and Direct Reference to login page

2004-05-20 Thread Jonathan Eric Miller
- Original Message - From: Ben Souther [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, May 20, 2004 12:26 PM Subject: Re: Session Timeout and Direct Reference to login page What was wrong with the first suggestion? 1.) When your user logs in, throw an object

SingleSignOn session timeout question

2004-05-20 Thread Jonathan Eric Miller
I'm using org.apache.catalina.authenticator.SingleSignOn for single sign on with container-based security. I have a question about session time outs. When the session for a given application times out, if a user attempts to access the application after the session has timed out, the user should

Re: Session Timeout and Direct Reference to login page

2004-05-19 Thread Ben Souther
Tomcat behaves according to the Servlet/JSP specs. It creates a new session if a request is made after the previous one expires. It's not too difficult to write your own, I did. -Write a session-timeout.jsp with a link to your login. -Define a context-param in web.xml (session-timeout-page-url

Re: Session Timeout and Direct Reference to login page

2004-05-19 Thread Jonathan Eric Miller
It's too bad there isn't a session-timeout-page element that you can put in web.xml kind of like the error-page element... Jon - Original Message - From: Jonathan Eric Miller [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, May 19, 2004 2:58

Re: Session Timeout and Direct Reference to login page

2004-05-19 Thread Jonathan Eric Miller
PROTECTED] Sent: Wednesday, May 19, 2004 3:16 PM Subject: Re: Session Timeout and Direct Reference to login page On Wed, May 19, 2004 at 02:58:05PM -0500, Jonathan Eric Miller wrote: : All I want to do is detect when a session has timed out for a user and : display a page stating such when the user

Re: Session Timeout and Direct Reference to login page

2004-05-19 Thread QM
{ // forward() to a your session timed out page } Is this what you're after? Option #2: have each page meta-refresh to the your session timed out page (set the refresh value 1 or 2 seconds beyond the session timeout). This is more intrusive, though: people don't typically like it when

Re: Session Timeout and Direct Reference to login page

2004-05-19 Thread Jonathan Eric Miller
this should be a straight forward thing to do. Am I missing something? Jon - Original Message - From: Renato Romano [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, March 02, 2004 3:31 AM Subject: Session Timeout and Direct Reference to login page I have two

session-timeout

2004-03-08 Thread Jerald Powel
I define session-timeout to be 2 minutes. Why after an inactive period of time exceeding 2 minutes, does the memory being used not appear to lessen please? In fact, even I close all browsers the memory being consumed remains at its peak...until a server restart is necessary. thanks for your

Re: session-timeout

2004-03-08 Thread Seth Ladd
of memory for each browser/app opened. No problem there. In my web.xml I define session-timeout to be 2 minutes. Why after an inactive period of time exceeding 2 minutes, does the memory being used not appear to lessen please? In fact, even I close all browsers the memory being consumed remains at its

RE: session-timeout

2004-03-08 Thread Mike Curwen
:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 4:38 PM To: Tomcat Users List Subject: session-timeout Hi all, I am experiencing problems with memory management. I load up my app in 10 or 15 browsers where various stuff is put on a session each time. In Windows Task Manager I

Re: session-timeout

2004-03-08 Thread Justin Ruthenbeck
. No problem there. In my web.xml I define session-timeout to be 2 minutes. Why after an inactive period of time exceeding 2 minutes, does the memory being used not appear to lessen please? In fact, even I close all browsers the memory being consumed remains at its peak...until a server restart

RE: session-timeout

2004-03-08 Thread Justin Ruthenbeck
At 03:07 PM 3/8/2004, you wrote: My understanding on this topic is perhaps not clearest, but here's what I've been able to glean from watching tomcat-user (amongst others). The VM will not 'release' back to the OS, any memory it grabs during the run of a program. But that doesn't mean that it is

RE: session-timeout

2004-03-08 Thread Jerald Powel
Hi and thank you to all concerned, Before I close, and consult the doco you talk of (URLs welcome), can you exaplain what you mean by whoever implements the JVM? In this instance, are we talking about Apache/TC developer team? thnx G. Yes, this is correct. The important point,

RE: session-timeout

2004-03-08 Thread Justin Ruthenbeck
At 04:50 PM 3/8/2004, you wrote: Hi and thank you to all concerned, Before I close, and consult the doco you talk of (URLs welcome), can you exaplain what you mean by whoever implements the JVM? In this instance, are we talking about Apache/TC developer team? Try these (from a really quick

Session Timeout and Direct Reference to login page

2004-03-02 Thread Renato Romano
I have two problems i'm facing with every web application using declarative security model, that is: 1) Detect that the user session has expired, and forward him to an appropriate login page; Usually we build webapp in which the home page shows a login form; to handle this, I use to make a

Session Timeout and Direct Reference to login page

2004-03-01 Thread Renato Romano
I have two problems i'm facing with every web application using declarative security model, that is: 1) Detect that the user session has expired, and forward him to an appropriate login page; Usually we build webapp in which the home page shows a login form; to handle this, I use to make a

RE: How to set session timeout?

2004-01-21 Thread Shapira, Yoav
Howdy, You should read the specification for session timeout. You can't set it for less than a minute using web.xml. The default is 30 minutes. Yoav Shapira Millennium ChemInformatics -Original Message- From: Mufaddal Khumri [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 20, 2004 7

How to set session timeout?

2004-01-20 Thread Mufaddal Khumri
From where can you set the session timeout ? In other words where in Tomcat can you control the session timeout ? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to set session timeout?

2004-01-20 Thread Filip Hanik
in web.xml in your web application (WEB-INF/web.xml) Filip - Original Message - From: Mufaddal Khumri [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, January 20, 2004 2:27 PM Subject: How to set session timeout? From where can you set the session timeout

Re: How to set session timeout?

2004-01-20 Thread Mufaddal Khumri
session-config session-timeout1/session-timeout /session-config Can we set the session-timeout less than a minute? Thanks On Jan 20, 2004, at 3:30 PM, Filip Hanik wrote: in web.xml in your web application (WEB-INF/web.xml) Filip - Original Message - From

Re: How to set session timeout?

2004-01-20 Thread Mufaddal Khumri
Whats the default value set for session timeout?? (tomcat 4.1.29)? ie if I do not specify the session-timeout whats the default ? Thanks On Jan 20, 2004, at 3:30 PM, Filip Hanik wrote: in web.xml in your web application (WEB-INF/web.xml) Filip - Original Message - From: Mufaddal

Re: Session timeout

2004-01-13 Thread Vitor Buitoni
Perhaps because in the web.xml you specify the value in minutes, and in the code the method getMaxInactiveInterval() retrieves the time in seconds?? ;-) Vitor Chris Wahl wrote: Hi,all I am using TC4.0.6, After I setting session timeout to -1 by adding following in web.xml: session-config

Session timeout

2004-01-12 Thread Chris Wahl
Hi,all I am using TC4.0.6, After I setting session timeout to -1 by adding following in web.xml: session-config session-timeout-1/session-timeout /session-config In a servlet of the same web module I get such interesting output: hs.getMaxInactiveInterval() = -60 // hs is HttpSession

RE: Warning of session timeout.

2004-01-07 Thread Altankov Peter
of session timeout. Hello, When I'm doing online banking over the internet, I get a popup notice telling me my session is about to expire and asking me if I want to stay logged in or not. How do they do this? I would like to offer the same kind of message on our web site to our users when

RE: Warning of session timeout.

2004-01-07 Thread Michael Cardon
Do you know of any Java Applets out there that I could look at for examples? Thanks. Michael -Original Message- From: Altankov Peter [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 6:23 AM To: Tomcat Users List Subject: RE: Warning of session timeout. And ofcourse, if you

RE: Warning of session timeout.

2004-01-07 Thread Altankov Peter
No sorry, was just an idea :( -Original Message- From: Michael Cardon [mailto:[EMAIL PROTECTED] Sent: 07 2004 . 17:51 To: Tomcat Users List Subject: RE: Warning of session timeout. Do you know of any Java Applets out there that I could look at for examples? Thanks

Warning of session timeout.

2004-01-06 Thread Michael Cardon
Hello, When I'm doing online banking over the internet, I get a popup notice telling me my session is about to expire and asking me if I want to stay logged in or not. How do they do this? I would like to offer the same kind of message on our web site to our users when the session is about to

RE: Warning of session timeout.

2004-01-06 Thread Chris Ward
I guess you could get the desired result using JavaScript locally to count down from when the page is last sent. Just a suggestion. Best regards Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: Warning of session timeout.

2004-01-06 Thread Shapira, Yoav
Howdy, Probably a simple javascript function that fires off a popup a few minutes before the configured session timeout. Trivial (and not specific to java) to implement. Yoav Shapira Millennium ChemInformatics -Original Message- From: Michael Cardon [mailto:[EMAIL PROTECTED] Sent

Setting session timeout when using SingleSignOn

2004-01-05 Thread Richard Almquist
Hi, I can increase the session timeout for a webapp by putting the following in the webapp's web.xml file: session-config !-- session timeout in minutes -- session-timeout120/session-timeout /session-config I can get SingleSignOn is working so that I can move between webapps

Re: definition/usage of session-timeout?

2003-11-25 Thread Ben Souther
hits from that user's browser. The session-timeout attribute allows you to explicitly set the length of your webapps sessions. The default is 30 mins. You're trying cancel a particular request. I don't think that can be done in tomcat (someone will correct me if I'm wrong). Even if it could

Re: definition/usage of session-timeout?

2003-11-25 Thread Ron W.
hard to diagnose. Putting in println's everywhere would in my case generate huge log file sizes, and I'll only try that as a last resort. Can anyone suggest a different technique for simulating an inactive session, so that I can get session-timeout to work? thanks, -Ron

Re: definition/usage of session-timeout?

2003-11-25 Thread Ben Souther
A session timeout just means that the next time you hit the site with the same browser, you will be assigned a new JSPSessionID to bind that transaction with your session object. It would do nothing to stop a request that's hung. Think of a request as one hit to a server and a session

Re: definition/usage of session-timeout?

2003-11-25 Thread Justin Ruthenbeck
be preferable, but it's extremely hard to diagnose. Putting in println's everywhere would in my case generate huge log file sizes, and I'll only try that as a last resort. Can anyone suggest a different technique for simulating an inactive session, so that I can get session-timeout to work

definition/usage of session-timeout?

2003-11-24 Thread WALKUP, RON [AG/1000]
Hi, I'm a relatively new Tomcat user, running 4.0.4 (testing on Windows, deploying on Sun UNIX). The UNIX servlet is having rare problems hanging, for which the exact cause is unknown. I'm trying to see if a session timeout can solve the problem, but have not been able to get it to work

Re: How do i handle session-timeout in an acceptable manner?

2003-10-08 Thread Hayo Schmidt
Shapira, Yoav schrieb: I have implemented this workaround: As for this workaround, why wouldn't it work with future tomcat versions? There's nothing tomcat-specific in it, much less tomcat 4.1.x-specific. Yoav Shapira A different servlet engine could use a POST instead of a GET to

RE: How do i handle session-timeout in an acceptable manner?

2003-10-08 Thread Mike Curwen
-Original Message- From: Hayo Schmidt [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 11:07 AM To: Tomcat Users List Subject: Re: How do i handle session-timeout in an acceptable manner? Shapira, Yoav schrieb: I have implemented this workaround

RE: auto refresh pages and session timeout

2003-10-07 Thread Peter Guyatt
: 06 October 2003 21:51 To: [EMAIL PROTECTED] Subject: Re: auto refresh pages and session timeout On Mon, October 6, 2003 1at 1:12 am, Mark W. Webb sent the following Is there a way to implement meta http-equiv=refresh content=60 tag in HTML and still have the ability to timeout a session after X

Re: auto refresh pages and session timeout

2003-10-07 Thread Mark W. Webb
Message- From: David Rees [mailto:[EMAIL PROTECTED] Sent: 06 October 2003 21:51 To: [EMAIL PROTECTED] Subject: Re: auto refresh pages and session timeout On Mon, October 6, 2003 1at 1:12 am, Mark W. Webb sent the following Is there a way to implement meta http-equiv=refresh content=60

  1   2   3   >