It depends upon whether session id is being stored using cookies or url
rewriting. With cookies, you don't have to worry whether the user
visits other pages in between pages of your app. With url rewriting,
they will lose the session if they go to another page and return by
using a link from that page. (If they use the browsers BACK button,
they won't lose the session.)
It seems that most servlet engines will try and use cookies by default.
If the user doesn't accept cookies (for misplaced privacy and security
concerns), then it will use url rewriting (assuming you have encoded
EVERY single url in your app.)
"[David Griffin]" wrote:
>
> Nick Ferrier wrote
>
> >>Servlet engines can shift plain old HTML pretty quick, certainly
> >>quick enough that it makes it more convienant to do it that way.
>
> >>Whilst a user has a session the user sticks with the same servlet
> >>engine... this negates the need to do any kind of load balancing.
>
> If a visitor goes from page to page and some pages are served by webserver,
> some by the servket engine, does the this interrupt the session as far as
> the servlet engine is concerned ?
> I mean, does a session only persist if the user keeps hitting URLs that are
> served from the servlet engine ?
>
> I'm planning to serve a site where (for purely historic reasons) the
> webserver and the serlet engine will be on entirely different machines.
>
> ___________________________________________________________________________
> 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
___________________________________________________________________________
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