RE: where and how to set session time out to 1 hr?

2002-11-07 Thread Tref Gare
Yep.. only diff being setMaxInactiveInterval takes an argument in
seconds where the web.xml setTimeout takes it in minutes.

>I think you can also use HttpSession.setMaxInactiveInterval():


--
Tref Gare
Development Consultant
Areeba
Level 19/114 William St, Melbourne VIC 3000
email: [EMAIL PROTECTED]
phone: +61 3 9642 5553
fax: +61 3 9642 1335
website: http://www.areeba.com.au
--
"This email is intended only for the use of the individual or entity
named above and contains information that is confidential. No
confidentiality is waived or lost by any mis-transmission. If you
received this correspondence in error, please notify the sender and
immediately delete it from your system. You must not disclose, copy or
rely on any part of this correspondence if you are not the intended
recipient. Any communication directed to clients via this message is
subject to our Agreement and relevant Project Schedule. Any information
that is transmitted via email which may offend may have been sent
without knowledge or the consent of Areeba."
--

-Original Message-
From: Turner, John [mailto:JTurner@;AAS.com] 
Sent: Friday, 8 November 2002 12:56 AM
To: 'Tomcat Users List'
Subject: RE: where and how to set session time out to 1 hr?


The documentation is your friend.  If the documentation fails you,
Google is
always there for you.


  myApp 
   
index 
index 
/index.jsp 
   
   
30 
   


Change "30" to "60".

I think you can also use HttpSession.setMaxInactiveInterval():

http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpSes
sion
.html#setMaxInactiveInterval(int)

John


> -Original Message-
> From: Mark Goking [mailto:Mark.Goking@;asia.bigfoot.com]
> Sent: Thursday, November 07, 2002 4:32 AM
> To: Tomcat Users List
> Subject: where and how to set session time out to 1 hr?
> 
> 
> 
> 
> where and how to set session time out to 1 hr?
> 
> im using jboss-tomcat combo
> 
> mark
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.410 / Virus Database: 231 - Release Date: 10/31/2002
>  
> 
> --
> To unsubscribe, e-mail:   
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:tomcat-user-help@;jakarta.apache.org>
> 

--
To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@;jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>




RE: where and how to set session time out to 1 hr?

2002-11-07 Thread Turner, John

The documentation is your friend.  If the documentation fails you, Google is
always there for you.


  myApp 
   
index 
index 
/index.jsp 
   
   
30 
   


Change "30" to "60".

I think you can also use HttpSession.setMaxInactiveInterval():

http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpSession
.html#setMaxInactiveInterval(int)

John


> -Original Message-
> From: Mark Goking [mailto:Mark.Goking@;asia.bigfoot.com]
> Sent: Thursday, November 07, 2002 4:32 AM
> To: Tomcat Users List
> Subject: where and how to set session time out to 1 hr?
> 
> 
> 
> 
> where and how to set session time out to 1 hr?
> 
> im using jboss-tomcat combo
> 
> mark
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.410 / Virus Database: 231 - Release Date: 10/31/2002
>  
> 
> --
> To unsubscribe, e-mail:   
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:tomcat-user-help@;jakarta.apache.org>
> 

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>




where and how to set session time out to 1 hr?

2002-11-07 Thread Mark Goking


where and how to set session time out to 1 hr?

im using jboss-tomcat combo

mark

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.410 / Virus Database: 231 - Release Date: 10/31/2002
 

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>