--
> is there anyone who has knowledge of statistics on how popular
> cookies are to the end-user? What is the percentage of users,
> who turned them actually off?
>
> (=>possibly answering the question whether the additional work
> of URL-encoding justifies the benefit. I'm writing an API
> similar to SSI, but fitted to my very specific application,
> so it is not just 'be carefull, use urlEncode() whenever
> you println() an HREF-Tag' due to the fact, that i'm having
> to parse static HTML-files.)
>
> 50% off-topic, sorry for that :)
With servlets, it does not matter if cookies are popular/supported or not.
The reason why is that if you implement the HttpSession object methods in
your servlet and you use the encodeUrl() method, then you are set with
regards to session management since it will attempt to set a cookie once and
if that fails, all your URL's will be re-written to support the session in
the url. Read the Servlet API spec on the HttpSession object.
Also, if you want to use a framework to support transparent session
management, check out Dash...<http://www.working-dogs.com/dash/>
-jon
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
READ THE FAQ!!!! <http://java.apache.org/faq/>
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]