Hi All,
       In one of my Servlets for my application i tried to get the Session Timeout 
Interval by using the foll. code:
                 session = req.getSession(false);
                 int timeout = session.getMaxInactiveInterval();

I do get the Session Object which I use to retieve other information that I have 
stored in it.
                 But when i try to find out it's timeout interval using 
getMaxInactiveInterval() it is throwing a run-time exception.

The servlet class file is placed in IBM Websphere Application Server2.03(Just in case 
if it had got to do with the Server.....)

Can anybody help me out on this.

Regards,
Chidambaram.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to