As I understand it, it would not interrupt the session because the session ID
is stored in a cookie and is not needed (but not destroyed either) by the
static pages.  After serving those static pages, requesting the servlet will
continue on with the session.

I think you may be confused as to what the session is.  In other words the
'session' to which you are reffering is not a session in continuous sense such
that you can break it (database, ftp...).  It's like some state that is saved
until some change is made to that state.  The way to get to a given state is by
the session ID.  The session can end as a result of timeout but can't really be
broken.

The session cannot be maintained through static page serving when only URL
rewriting is used.

dave.

"[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

--
David Mossakowski        [EMAIL PROTECTED]
http://www.dwdog.com/styk      212.310.7275

"I don't sit idly by, I'm planning a big surprise"
F         U         G         A        Z        I

___________________________________________________________________________
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