I think that this is because on the first request you won't have the cookie so the session id is put into the url.
On the second request the session id in url is passed and also the cookie is passed. On subsequent requests the server knows that the cookie is ok and does not put the session id in url. Does that make sense? d. Mike Whittaker wrote: > I have links that encode the URL in a jsp. > I was under the impression that if cookies were turned on then you shouldn't > see the session ID's but you do, at least once anyway. > > take a look here: > http://www.hotpud.kgbinternet.com/ukroutes/Home.jsp > > Click home again and id shows, again and its gone. > > In fact any link whatsoever first navigated from the (any) page itself will > show up the ID. > > Is this normal behaviour? It's a bit annoying! > > -- > Mike Whittaker > http://www.hotpud.com > > ___________________________________________________________________________ > 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] Instinet Corporation 212.310.7275 ___________________________________________________________________________ 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
