Hi Krishna,

I'm currently using JRun 2.3.3 and manage session timeouts in one of 2
ways:

1) SET IT GLOBALLY FOR ALL APPLICATIONS RUNNING IN THE JSM
- Go to the services tab of the JRun Admin Panel, select jse service
and press service config.
- Select the session tracking tab and change the invalidation time to
the desired time (notice it is in milliseconds).

2) SET IT WHEN YOU CREATE THE SESSION (overrides the global setting, if
defined)
 - session.setMaxInactiveInterval(sessionTimeout);
BTW - I'm not sure about JRun 3.0, but JRun 2.3.3 implements this
method with the sessionTimeout defined in milliseconds rather than
seconds (the Servlet API docs define as seconds).

Hope this helps.
Rich

-----Original Message-----
From: krishsrinivasan
Sent: Tuesday, June 13, 2000 11:40 AM
To: JSP-INTEREST
Subject: Session expiry.


Hi,
i'm running JSP's on JRUN and using APACHE as the webserver.Every jsp
verifies for the session object at the very beginning and redirects the
user
to login page if session object does'nt hold the usid id.The problem i
face
is after an hour or so if i try to access a page,i'm redirected to the
login
page though i'm a valid user.How do i change the session settings to
enable
seesion expiry only after 4 hrs or so ?

Appreciate u'r inputs.


thanks in advance,
Krishna.
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

========================================================================
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to