Get your CodeRanch badge!*
The moose likes Tomcat and the fly likes IE9 and JSESSIONID Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "IE9 and JSESSIONID" Watch "IE9 and JSESSIONID" New topic
Author

IE9 and JSESSIONID

wayne forrest
Greenhorn

Joined: Aug 23, 2010
Posts: 17

Tomcat comes standard with examples, one is known as the Number Guessing example:

Try it here : http://admin.jsn-server5.com/jsp-examples/num/numguess.jsp

First try it in Chrome and note your score:
and then in IE9.

How does one make this application work in IE9 ???

Lowering the security levels in IE9 helps, but.....


Thanks/




Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3775

I haven't tried this my self nor used IE9. But what is the kind of security you had to loosen here?


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
wayne forrest
Greenhorn

Joined: Aug 23, 2010
Posts: 17
I can not remember exactly: try this though:

Settings-->Privacy-->Advanced

"tick" "Override automatic cookie handling" :
Allow Third Party and First Party cookies is also ticked.

Hope that helps: I do remember that the problem was that session variables were not saved / persist on subsequent requests.

Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3775

Are you saying that the application does not fall back to URL rewriting if the cookies are disabled?
wayne forrest
Greenhorn

Joined: Aug 23, 2010
Posts: 17
I am not sure. One will have to test this.
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3775

Yep, once you disabled the cookies it won't work as expected.
wayne forrest
Greenhorn

Joined: Aug 23, 2010
Posts: 17
I have finally resolved this

Seems that if you do not *encode* your urls, the server will not revert back to URL rewriting.

For example:

Should resolve the problem, best of luck.








Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3775

Glad you solved it
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: IE9 and JSESSIONID
 
Similar Threads
Break the loop using threads
error -2147467259
encodeURL not working in servlet
Java Applets not working in IE9
session variable data lost or weirdness