Ankur Mehta wrote:
> Charles,
> Does that mean I will have to do my own session management using URL
> rewritting? Right now I was using Servlet default session management. How do
> you find out which method servlets is using i.e. Cockie or URL rewriting?
Not in theory. I believe I read that you are using Apache Jserv? Acording to
the docs, JServ should provide the URL rewriting if the cookie fails. You can
force URL-rewriting by setting a private variable in the SessionContext
implementation. You will need to do this for your application.
In the JSDK 2.1 API, there is a isRequestedSessionIdFromCookie() method on
HttpServletRequest. I don't know if this is porvided in JServ (which, I believe
has only the 2.0 API), but there is a private method that does the same thing.
You may need to hack the JServ source.
Once you've done all of this, you may find that the URL-rewriting fails
sometimes due to bugs or other problems.
Not very encouraging, but it is *supposed* to work.
-- Charles
___________________________________________________________________________
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