Sessions are applied to browsers. A cookie is set on the browser to
identify it. Multiple windows from the same browser will share one session.
However if you run Netscape and MS IE at the same time, those will each have
their own session tag. So the session's lifetime is the lifetime of the
browser application being open. However, sessions will timeout. The
default likely varies from engine to engine. WebSphere sets the timeout to
30 minutes by default. This can be changed in the configuration.
My suggestion is to let the session end naturally, either through the
browser being closed, or the session timing out. This is preferrable IMO to
doing an invalidate() on the session, because you never know how many
browser windows/web apps a person might be using at one time and
invalidating the session will surely affect all of these web apps.
Dan
> ----------
> From: Fred Muhlenberg[SMTP:[EMAIL PROTECTED]]
> Reply To: Fred Muhlenberg
> Sent: Thursday, April 15, 1999 9:52 AM
> To: [EMAIL PROTECTED]
> Subject: Session Lifetime
>
> I'm a little perplexed about the definition for session. This is in
> reference to the lifetime parameter of the USEBEAN tag.
>
> What constitutes a session -- more specifically, its end? How is a
> session's termination dictated? There is some vague reference to a web
> server configuration defining a session in the 0.92 spec.
>
> Would two different browsers viewing the same jsp constitute two different
> sessions (and two different beans)?
>
> -Fred Muhlenberg
>
> ==========================================================================
> =
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff JSP-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".