Thanks for the explanation Craig.

>> What I want to know is, given an input URL A, what must the format of A
be
>> in order to trigger the session encoding?


>The simple version of the rule is this:  the only URLs that should be
encoded
>(assuming the servlet engine has decided it is necessary) are those that
>(after being expanded into an absolute URL)  point back at THIS host.  In
>addition, if you are in a version 2.1+ servlet engine environment, and the
>servlet context your servlet resides in is mapped to a URI prefix, then
only
>URLs that go back to this host, and resolve to the same prefix, should be
>encoded.


How about situations where there are multiple virtual hosts and only one
servlet engine. Or where you are doing redirecting in the web server as well
(eg mod_rewrite in Apache). Surely the above rule would restrict the
flexibility of the call?

Cheers,

Geoff

Geoff

___________________________________________________________________________
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