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

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: 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
- From: Eric Wulff [mailto:[EMAIL PROTECTED] Sent: Saturday 06 November 2004 00:51 To: Steve Kirk Cc: Tomcat Users List Subject: Re: session-timeout means tomcat restart Well, this is amazingly frustrating. My TC 5.0.28 running on Linux FC2 is completely crashing about every half hr when I

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
- From: Eric Wulff [mailto:[EMAIL PROTECTED] Sent: Saturday 06 November 2004 00:51 To: Steve Kirk Cc: Tomcat Users List Subject: Re: session-timeout means tomcat restart Well, this is amazingly frustrating. My TC 5.0.28 running on Linux FC2 is completely crashing about every half

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 that

Re: session-timeout means tomcat restart

2004-11-05 Thread Eric Wulff
Linux FC2 TC 5.0.28 I'm not storing a db object within a session although I am storing objs within the session(of course - session.setAttribute). However, I have references to them from the controller so that shouldn't be the problem... eh? An interesting thing, I sometimes have to reboot my

Re: session-timeout means tomcat restart

2004-11-05 Thread Eric Wulff
Well, this is amazingly frustrating. My TC 5.0.28 running on Linux FC2 is completely crashing about every half hr when I have a webapp open and don't interact with it. I no longer have a time-out element in my web.xml so that doesn't seem to matter. TC shutdown and restart does not work.

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?

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

2004-09-20 Thread Peter Johnson
Yoav, Thanks for replying, long timeLeft = session.getLastAccessedTime() + session.getMaxInactiveInterval() * 1000 - System.currentTimeMillis(); PJ On Mon, 2004-09-20 at 22:54, Shapira, Yoav wrote: Hi, How are you checking the time remaining for a session? Yoav Shapira Millennium

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

2004-09-20 Thread Peter Johnson
Found the issue ... my apologies for wasting ppls time. A colleague had added a setMaxInactiveInterval statement in another section of the code which was overriding the web.xml value. Worse was that he'd set it for 3 thinking it was supposed to be in ms. My apologies all and thanks Yoav for

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

2004-07-16 Thread Dale, Matt
Your assumption is incorrect. When the session is created it will follow the value set in your web.xml but in this case, after session creation you modify its timeout attribute to be higher. This will only apply to sessions that go through this servlet, obviously. Ta Matt -Original

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

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

Re: Session Timeout and Direct Reference to login page

2004-05-19 Thread Ben Souther
[EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, May 19, 2004 2:58 PM Subject: Re: Session Timeout and Direct Reference to login page Renato, Did you ever receive a response to this? I'm having the same problem. My current problem is slightly more complicated though. I have my

Re: Session Timeout and Direct Reference to login page

2004-05-19 Thread Jonathan Eric Miller
PM Subject: Re: Session Timeout and Direct Reference to login page Renato, Did you ever receive a response to this? I'm having the same problem. My current problem is slightly more complicated though. I have my application protected using container based security, but, I also have single

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
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 makes a request after the session : has timed out. It seems like this should be a straight forward thing to do.

Re: Session Timeout and Direct Reference to login page

2004-05-19 Thread Jonathan Eric Miller
Renato, Did you ever receive a response to this? I'm having the same problem. My current problem is slightly more complicated though. I have my application protected using container based security, but, I also have single-sign on enabled. So, the user doesn't get redirected back to the login

Re: session-timeout

2004-03-08 Thread Seth Ladd
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jerald Powel wrote: | 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 can see java.exe incrementing by an amount of

RE: session-timeout

2004-03-08 Thread Mike Curwen
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 currently in use. ex: You've

Re: session-timeout

2004-03-08 Thread Justin Ruthenbeck
At 02:37 PM 3/8/2004, you wrote: 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 can see java.exe incrementing by an amount of memory for each browser/app opened.

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

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

Re: Session Timeout

2003-09-05 Thread G. Wade Johnson
I'm using Tomcat 4.1.18 4.1.24 (two different machines). The behavior is the same on both. As I said in my other message, I was basing my questions on the documentation I had read. Your response made me do a little testing. Now, I'm even more confused. My assumption was based on information in

RE: Session Timeout

2003-09-05 Thread Mike Curwen
Johnson [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 8:45 AM To: Tomcat Users List Subject: Re: Session Timeout I'm using Tomcat 4.1.18 4.1.24 (two different machines). The behavior is the same on both. As I said in my other message, I was basing my questions

RE: Session Timeout

2003-09-05 Thread Shapira, Yoav
. Wade Johnson [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 8:45 AM To: Tomcat Users List Subject: Re: Session Timeout I'm using Tomcat 4.1.18 4.1.24 (two different machines). The behavior is the same on both. As I said in my other message, I was basing my questions

Re: Session Timeout

2003-09-05 Thread G. Wade Johnson
continuosly for the past 30 minutes, I'm still kicking you off. That sounds like 'session-duration' to me. -Original Message- From: G. Wade Johnson [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 8:45 AM To: Tomcat Users List Subject: Re: Session Timeout I'm

Re: Session Timeout

2003-09-05 Thread G. Wade Johnson
to WEB-INF/web.xml, which is standard and therefore portable across containers. Yoav Shapira Millennium ChemInformatics -Original Message- From: Mike Curwen [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 10:05 AM To: 'Tomcat Users List' Subject: RE: Session Timeout

Re: Session Timeout

2003-09-04 Thread Filip Hanik
I just found out that sessions on my webapp are automatically being logged out after some period of time. Even when they are being used. this should not be the case session-timeout should be the inactivity timeout what version of tomcat? Filip - Original Message - From: G. Wade Johnson

RE: Session timeout

2003-07-16 Thread Sudhir Movva
The default setting for session timeout should be done in %CATALINA_HOME%/conf/web.xml Look for the tag session-config -Sudhir. -Original Message- From: Tarek M. Nabil [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 10:47 AM To: 'Tomcat Users List' (E-mail) Subject: Session

RE: Session timeout

2003-07-16 Thread sankara
You can use, session-config session-timeoutXXX/session-timeout /session-config in your web.xml Regards, A.Sankar -Original Message- From: Tarek M. Nabil [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 8:17 PM To: 'Tomcat Users List' (E-mail) Subject: Session timeout Hi

RE: Session timeout

2003-07-16 Thread Sudhir Movva
For application specific setting modify web.xml file of your application by adding session-config session-timeouttime in ms/session-timeout /session-config -Sudhir. -Original Message- From: Tarek M. Nabil [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 10:47 AM

RE: Session timeout

2003-07-16 Thread Tarek M. Nabil
Thank you all for your help :) -Original Message- From: Sudhir Movva [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 5:58 PM To: 'Tomcat Users List' Subject: RE: Session timeout For application specific setting modify web.xml file of your application by adding session-config

RE: session timeout in tomcat

2003-07-15 Thread Shapira, Yoav
Howdy, session-config in web.xml. It's in the Servlet Specification. Yoav Shapira Millennium ChemInformatics -Original Message- From: Ravi Pachipala [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 3:27 PM To: '[EMAIL PROTECTED]' Subject: session timeout in tomcat Hi, I am

RE: session timeout in tomcat

2003-07-15 Thread Ravi Pachipala
Thanks. That works. Ravi -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 12:20 PM To: Tomcat Users List Subject: RE: session timeout in tomcat Howdy, session-config in web.xml. It's in the Servlet Specification. Yoav Shapira Millennium

Re: session timeout not working anymore :(

2003-02-05 Thread Bill Barker
I admit not not looking at this in detail. But the lack or a 'return;' statement after the jsp:forward is a major red flag. Sundar Narasimhan [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, I'm running out of options -- but is there a problem with

Re: session timeout not working anymore :(

2003-02-04 Thread Sean Dockery
What used to worked? What behavior are you expecting that you no longer observe? If I was to guess at what you're expecting to happen... I would guess that you are expecting that getSession(false) would equal null at some point and that never happens? This causes the useBean directive to

Re: session timeout not working anymore :(

2003-02-04 Thread Craig R. McClanahan
On Tue, 4 Feb 2003, Sundar Narasimhan wrote: Date: Tue, 4 Feb 2003 23:35:38 -0500 From: Sundar Narasimhan [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: session timeout not working anymore :( Hi, I'm running out of options -- but is there a

RE: Session Timeout - Who has the final decision?

2003-01-27 Thread mech
IMHO: Your web app web.xml overrides Tomcat's web.xml. Your application code overrides both. I've checked the Tomcat-User and Struts-User archives for an answer to this, but am still not sure of the answer. Given that I can set a session timeout interval in Tomcat's configuration file

RE: Session Timeout - Who has the final decision?

2003-01-27 Thread Jerry Jalenak
Thanks for the reply. That's kind of what I suspected, but couldn't find anything that stated so -Original Message- From: mech [mailto:[EMAIL PROTECTED]] Sent: Monday, January 27, 2003 1:32 PM To: 'Tomcat Users List' Subject: RE: Session Timeout - Who has the final decision

RE: Session Timeout - Who has the final decision?

2003-01-27 Thread Shapira, Yoav
Howdy, Consider the order in which these settings are applied: Tomcat timeout is 30 minutes Applied on tomcat startup. Web Appl. timeout is 45 minutes Overrides above when your context starts up.

Re: Session Timeout - Who has the final decision?

2003-01-27 Thread Craig R. McClanahan
On Mon, 27 Jan 2003, Jerry Jalenak wrote: Date: Mon, 27 Jan 2003 13:22:47 -0600 From: Jerry Jalenak [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: Session Timeout - Who has the final decision? Hi All, I've checked the

Re: Session timeout setting (URGENT)

2002-12-20 Thread Kenny G. Dubuisson, Jr.
Simple minded as I am, I still believe with everything I have that there MUST be a setting in Tomcat that controls how often new session ID's are generated. If I have a simple page that does nothing but a session.getId() and it returns a new session ID every 60 mins, there must be something in

RE: Session timeout setting (Getting desperate)

2002-12-20 Thread Cox, Charlie
List Subject: Re: Session timeout setting (Getting desperate) Just for a test, I tried moving the web.xml file in the $CATALINA_HOME/conf directory to my application's WEB-INF directory and set the session-timeout setting to 60. Restarted Tomcat and then my application quit working

Re: Session timeout setting (URGENT)

2002-12-20 Thread jeff . guttadauro
Users List [EMAIL PROTECTED] cc: Subject:Re: Session timeout setting (URGENT) Simple minded as I am, I still believe with everything I have that there MUST be a setting in Tomcat that controls how often new session ID's are generated. If I have a simple page that does

Re: Session timeout setting (URGENT)

2002-12-20 Thread Kief Morris
Kenny G. Dubuisson, Jr. typed the following on 09:05 20/12/2002 -0600 Simple minded as I am, I still believe with everything I have that there MUST be a setting in Tomcat that controls how often new session ID's are generated. This is a standard configuration in the web.xml file, use:

RE: Session timeout setting (Getting desperate)

2002-12-20 Thread Jim Henderson
, December 19, 2002 3:51 PM To: Tomcat Users List Subject: Re: Session timeout setting (Getting desperate) Just for a test, I tried moving the web.xml file in the $CATALINA_HOME/conf directory to my application's WEB-INF directory and set the session-timeout setting to 60. Restarted Tomcat

Re: Session timeout setting (URGENT)

2002-12-20 Thread Kenny G. Dubuisson, Jr.
then on every other page would use the timeout that the method call sets? Thanks so much for the info. Kenny - Original Message - From: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, December 20, 2002 9:34 AM Subject: Re: Session timeout setting (URGENT) Hi, Kenny

Re: Session timeout setting (URGENT)

2002-12-20 Thread Kenny G. Dubuisson, Jr.
PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, December 20, 2002 9:36 AM Subject: Re: Session timeout setting (URGENT) Kenny G. Dubuisson, Jr. typed the following on 09:05 20/12/2002 -0600 Simple minded as I am, I still believe with everything I have that there MUST be a setting

Re: Session timeout setting (Getting desperate)

2002-12-20 Thread Kenny G. Dubuisson, Jr.
app. Thanks, Kenny - Original Message - From: Jim Henderson [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Friday, December 20, 2002 9:47 AM Subject: RE: Session timeout setting (Getting desperate) Try using the Tomcat Administration tools and see how it displays

RE: Session timeout setting (Getting desperate)

2002-12-20 Thread Jim Henderson
, Jr. [mailto:[EMAIL PROTECTED]] Sent: Friday, December 20, 2002 10:40 AM To: Tomcat Users List Subject: Re: Session timeout setting (Getting desperate) Thanks for the info. Here is my question: Try using the Tomcat Administration tools and see how it displays the session timeout in it's WEB

Re: Session timeout setting (URGENT)

2002-12-20 Thread Mark Eggers
Ken, Let me qualify this before giving you a possibility. I have just started working with Tomcat as a programmer (I'm mostly a system admin / integrator / architect). And as another person on the mailing list has pointed out, I am not a part of any apache.org development team. That said, I

RE: Session timeout setting (URGENT)

2002-12-20 Thread Jim Henderson
:38 AM To: Tomcat Users List Subject: Re: Session timeout setting (URGENT) Ken, Let me qualify this before giving you a possibility. I have just started working with Tomcat as a programmer (I'm mostly a system admin / integrator / architect). And as another person on the mailing list has pointed

Re: Session timeout setting (URGENT)

2002-12-20 Thread Milt Epstein
then on every other page would use the timeout that the method call sets? - Original Message - From: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, December 20, 2002 9:34 AM Subject: Re: Session timeout setting (URGENT) Hi, Kenny. I think

Re: Session timeout setting

2002-12-19 Thread jeff . guttadauro
My guess is that the application is probably overriding the setting in your web.xml by using the setMaxInactiveInterval method on the session object. Kenny G. Dubuisson, Jr. [EMAIL PROTECTED] 12/19/02 09:07 AM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL

Re: Session timeout setting

2002-12-19 Thread Kenny G. Dubuisson, Jr.
No where in my code am I calling that method. Maybe I should??? Thanks, Kenny - Original Message - From: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, December 19, 2002 9:27 AM Subject: Re: Session timeout setting My guess is that the application

Re: Session timeout setting

2002-12-19 Thread Fabio Mengue
On Tomcat 4.0.x, you had a Manager property for this (in server.xml, called |maxInactiveInterval|). Docs say **The value for this property is inherited automatically if you specify a |session-timeout| element in the web application deployment descriptor (|/WEB-INF/web.xml|).

Re: Session timeout setting

2002-12-19 Thread Kenny G. Dubuisson, Jr.
I'm running Tomcat 4.0.5. Hope this helps. Thanks, Kenny - Original Message - From: Fabio Mengue [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, December 19, 2002 11:13 AM Subject: Re: Session timeout setting On Tomcat 4.0.x, you had a Manager property

Re: Session timeout setting (Getting desperate)

2002-12-19 Thread Kenny G. Dubuisson, Jr.
- Original Message - From: Kenny G. Dubuisson, Jr. [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, December 19, 2002 11:25 AM Subject: Re: Session timeout setting I'm running Tomcat 4.0.5. Hope this helps. Thanks, Kenny - Original Message - From: Fabio Mengue

Re: Session timeout setting

2002-12-18 Thread Bill Barker
You didn't mention which Tomcat version you are using, so I'm going to assume 4.x. You need to add (between servlet-mappings and mime-mappingss): session-config session-timout${minutes}/session-timeout /session-config to conf/web.xml (where, of course, ${minutes} is replaced with the numerical

RE: Session timeout

2002-12-16 Thread Michael Echerer
I guess you should have a look into javax.servlet.http.HttpSessionBindingListener and .HttpSessionEvent to monitor if a session is created or destroyed. -Original Message- From: Lindomar [mailto:[EMAIL PROTECTED]] Sent: Montag, 16. Dezember 2002 14:00 To: Tomcat Users List Subject:

Re: session timeout on Tomcat

2002-09-11 Thread David Mossakowski
Your browsers shared the session which is what the session id being the same suggests. Use two physicly separate computers (KVM switch ok) to do the same test to be absolutely sure that this is still happening (it won't :) d. randie ursal wrote: hi, could somebody explain to me what

Re: session timeout on Tomcat

2002-09-11 Thread randie ursal
i tried it between two computers..the same behavior happen. actually each browser has unique session ids because i print it every time a new session has been created. also, i made some more investigation and testing and i found out that session expiration depends on Tomcat startup time...ex.

Re: session timeout

2002-08-15 Thread Øyvind Vestavik
Are you sure you wan't your sessions to never timeout?? Over time this could be a substantial load on your server.. Øyvind Øyvind Vestavik Øvre Møllenberggt 44b 7014 Trondheim [EMAIL PROTECTED] 41422911 On Wed, 14 Aug 2002, Koes, Derrick wrote: How closely does Tomcat follow the servlet

RE: session timeout

2002-08-14 Thread Shapira, Yoav
Hi, (Too lazy to dig up the spec for the nth time today) I thought the spec said -1 ensures they never expire. Not 0 or less. Did you try -1? Yoav Shapira Millennium ChemInformatics -Original Message- From: Koes, Derrick [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 14, 2002

RE: session timeout

2002-08-14 Thread Koes, Derrick
-1 seems to work, at least I have much better results than with 0. I quoted directly from the servlet 2.3 FCS spec. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 14, 2002 11:17 AM To: Tomcat Users List Subject: RE: session timeout Hi, (Too

RE: session timeout

2002-08-14 Thread Shapira, Yoav
:[EMAIL PROTECTED]] Sent: Wednesday, August 14, 2002 11:36 AM To: 'Tomcat Users List' Subject: RE: session timeout -1 seems to work, at least I have much better results than with 0. I quoted directly from the servlet 2.3 FCS spec. -Original Message- From: Shapira, Yoav [mailto:[EMAIL

Re: session timeout

2002-08-14 Thread Craig R. McClanahan
On Wed, 14 Aug 2002, Koes, Derrick wrote: Date: Wed, 14 Aug 2002 16:11:48 +0100 From: Koes, Derrick [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: session timeout How closely does Tomcat follow the servlet specification

RE: session timeout

2002-08-14 Thread Craig R. McClanahan
On Wed, 14 Aug 2002, Shapira, Yoav wrote: Date: Wed, 14 Aug 2002 11:55:36 -0400 From: Shapira, Yoav [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: session timeout Hi, No longer too lazy to dig up the spec

RE: Session timeout mystery

2002-07-19 Thread HC Hammerstoft, InterResearch A/S
Yes the servlet writes sessionId to system out when hit. eg.: 13:43:05, id=g5atkj09w1 14:08:06, id=g5atkj09w1 14:33:06, id=g5atkj09w1 Have you verified that the reload requests have hit the server ? (access.log or own log in the doGet) Some browser have there own opinion if and when they

RE: session timeout

2002-02-20 Thread KC Berg
I'm not sure how to do it in the config file but here it is in code... int hour = 60 * 60; hour = hour * 4; session.setMaxInactiveInterval(hour); this sets the inactivity timeout which is what I think you want. -Original

RE: session timeout

2002-02-20 Thread Ricky Leung
look at the web.xml file under $CATALINA_HOME/conf, there's a sample web.xml file there that explains how to setup timeouts in your webapp. Just copy and paste into your webapp's web.xml. Remember the tag ordering is crucial in xml. -Original Message- From: Jagan [mailto:[EMAIL

Re: Session Timeout

2002-02-07 Thread Hari S
I hope that in your TOMCAT_HOME/webapps/manager/web.xml file in /manager application, You should create a Manager role. i.e Your security constraint should look like following security-constraint web-resource-collection web-resource-name Entire Application /web-resource-name

RE: Session Timeout

2002-01-30 Thread Justin Rowles
Hi, I tried setting session timeout to 5 mins using web.xml (please see the following code), but it does not seem to be working. In my jsp I displayed getMaxInactiveInterval() and it shows 1800 (30 mins). Can anyone please let me know if I can use web.xml for session timeout in

RE: Session Timeout

2002-01-30 Thread Purcell, Scott
I think Justin is correct in stating to put the timeout in the JSP's. I bet the web.xml file is only for servlets. Anyone know for sure? Scott -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 30, 2002 10:42 AM To: [EMAIL PROTECTED] Subject:

RE: Session Timeout

2002-01-30 Thread Justin Rowles
I think Justin is correct in stating to put the timeout in the JSP's. I bet the web.xml file is only for servlets. Well jsps *are* servlets once they are compiled! Personally I think it's a bug but I have a workaround so I can get on with this huge pile of vitally important small changes to

RE: Session Timeout

2002-01-30 Thread sumit . rajan
: Wednesday, January 30, 2002 11:53 AM To: 'Tomcat Users List' Subject: RE: Session Timeout Hi, I tried setting session timeout to 5 mins using web.xml (please see the following code), but it does not seem to be working. In my jsp I displayed getMaxInactiveInterval() and it shows 1800 (30

Re: Session Timeout

2002-01-30 Thread Tom Bednarz
It works for me on TC 4.0.1. I have implemented a servlet that monitors all sessions currently active on my application (using the new HttpSessionListener interface) and I can see expired sessions. Maybe a problem of previous TC versions Thomas - Original Message - From: [EMAIL

Re: session timeout action

2001-12-17 Thread Christopher K. St. John
Sobeck, James (ISS Atlanta) wrote: is there a way to check to see if the session has timed out? For 2.3, try: javax.servlet.http.HttpSessionListener, for =2.3, try: javax.servlet.http.HttpSessionBindingListener The javadocs have more info. -- Christopher St. John [EMAIL

Re: Session Timeout

2001-12-07 Thread Moós Gábor
When an object is unbound from the session, is when the session times out. - Original Message - From: Erwin Ambrosch [EMAIL PROTECTED] To: Tomcat Mailinglist [EMAIL PROTECTED] Sent: Friday, December 07, 2001 1:41 PM Subject: Session Timeout Hi! Is there an possibility to trigger

Re: Session Timeout

2001-10-01 Thread Fiona
Thanks Kim, it worked a treat! At 12:45 28/09/01 +0200, you wrote: You can do something like that: httpSession.setMaxInactiveInterval(yourintervalasintinseconds)); mfg. integris integrierte computersysteme GmbH i.A. Kim Hübel -- mailto:[EMAIL PROTECTED] http://www.integris.de Telefon:

Re: Session Timeout Problems

2001-08-23 Thread Matthias Piehl
Hello, in which case did the timeout occurs? If it is after a long time since the last request i think it is normal. I made some tests with an MaxInactiveInterval of 15 secons. Then i saw, that the HttpSessionBindingListender notice the unbinding event at the latest of 60 secons after the last

Re: session timeout handling

2001-06-23 Thread Bo Xu
Bo Xu wrote: [EMAIL PROTECTED] wrote: When a Tomcat session times out does it send you to a preset error page? What is the mechanism there? What is the best way to handle timed out users? Hi :-) I suggest you make a object witch implements

RE: session timeout handling

2001-06-22 Thread Michael Wentzel
When a Tomcat session times out does it send you to a preset error page? No. not unless you throw an exception due to dependence on something from session. You could develop an entire webapp without ever using the session and despite the fact you never use it it will still be instantiated.

  1   2   >