The session ID is pushed as a cookie if cookies are accepted by the browser.
Of course, IE 5.5 accepts cookies. If the cookie is refused, the server
generally use URL rewriting to track the session. The session ID coming back
to the server is refered as 'session ID being asked by the client' in the
servlet documentation. No matter how it is achieved, Java session tracking
will never work with IE 5.5. This is not really a problem if you are aware
of it and do your own session tracking. (I use identified session tracking
through PathInfo, storing HttpoSession objects in a HashTable. The main
drawback is having to take care of invalidation while this could be
automated with Java sessions.)
The real concern is for developpers who are not aware of this problem and
might rely on Java session tracking. It may take some times before they
realise their servlets are not "compatible" with IE 5.5 clients.
Another interesting question is "Why". Could it be a Microsoft decision ?
Pierre-Yves Saumont
-----Message d'origine-----
De : A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]De la part de Pier
P. Fumagalli
Envoyé : jeudi 15 mars 2001 16:12
À : [EMAIL PROTECTED]
Objet : Re: Session tracking with IE 5.5
Saumont Pierre-Yves <[EMAIL PROTECTED]> wrote:
> Hi,
>
> being a servlet developper, I try to test every new browser against my
> servlets and to take care of differences in how they react. As part of
this
> process, I tested Microsoft Internet Explorer and realized that it will
> never ask for a session ID. So I am wandering if anyone had the same
> problem. If it appears that it is a general problem with IE 5.5, it might
> have important consequences for servlet developpers. It might be a bug,
but
> it might as well be a feature :-(
>
> (I am not looking for a workaround, as this is a very simple problem. I
> would just like to know what you think about this.)
>
> Pierre-Yves Saumont
Sessions are usually handled with Cookies... A client doesn't usually "ask"
for a Session ID, but gets the value pushed in as a Cookie... Can you check
out that the browser is actually accepting cookies???
Pier
--
----------------------------------------------------------------------------
Pier Fumagalli - Sun Microsystems Inc. - <mailto:[EMAIL PROTECTED]>
___________________________________________________________________________
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