On Thu, 8 Jul 1999, John Swapceinski wrote:
> In the Session class:
>
> public void setMaxInactiveInterval(int interval)
>
> Specifies the maximum length of time, in seconds, that the servlet
> engine keeps this session if no user requests have been made of the
> session.
> Parameters:
> interval - An integer specifying the number of seconds
FWIW, I believe this is a JSDK 2.1 addition. So if you're using a
servlet engine that only supports 2.0 (or earlier), it won't be there.
Although it seems most/all servlet engines have caught up with 2.1 by
now.
> > A quick question :
> >
> > Does anybody know if one can specify the lifetime of a session object.
> > For example you can do this with cookies, but with sessions I see no
> > way to get the undelying cookie object nor an API to set the
> > expiration date.
> >
> > A quick rant :
> >
> > This is the 3rd time I ask this question !!! If you're reading this
> > I've somehow succeded, but other attempts have failed. I sent an email
> > as a reply to another thread and it worked, but when I send my own
> > topic it's not working, my messages seem to go to /dev/null and not
> > get posted :(
> >
>
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]
___________________________________________________________________________
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