This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes JSP and the fly likes Tomcat 5.5 + IE 6.0: Trouble with session cookies Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Tomcat 5.5 + IE 6.0: Trouble with session cookies" Watch "Tomcat 5.5 + IE 6.0: Trouble with session cookies" New topic
Author

Tomcat 5.5 + IE 6.0: Trouble with session cookies

Jimmy Perakatt
Greenhorn

Joined: Dec 12, 2008
Posts: 1
Hi All,

I am trying to understand the need of url rewriting while cookies are disabled in the client browser. I have setup a Tomcat 5.5 environment on my machine and the web browser is IE 6.0. I access my app using the link http://localhost:8080/app/xyz.jsp

Problem 1: Why can't I see the cookie file that should be created when I access my web application using IE. I tried accessing other websites and found that there cookies are getting created in the Temporary Internet folders.



Problem 2: Even after disabling all cookies including session cookies in IE, my web application continues to work , which should not have happened. I tried checking the JsessionId in each and every JSP and found that it is one and the same which was not what I expected

After disabling the cookies too other websites continued to create cookies.

When I used Google Chrome with cookies disabled to access my web application, a new session and session Id got created for each request to the JSP file. It gave me the expected result.

Is this an IE problem or am I doing something wrong?

How can I make my application work using IE and Tomcat combination.

Thanks to you all for looking in

Jimmy
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56529
    
  14

Jimmy Perakatt wrote:Problem 1: Why can't I see the cookie file that should be created when I access my web application using IE. I tried accessing other websites and found that there cookies are getting created in the Temporary Internet folders.

Temporary cookies are held in memory and not written to file in IE, as I recall.

After disabling the cookies too other websites continued to create cookies.

Then, apparently, cookies are not disabled.

Is this an IE problem or am I doing something wrong?

IE is a known problem. I don't use it (or Windows) so I can't do much exploring at the moment. (My only Windows environment is a clunky Dell box at the office for IE testing.)

It should be a simple matter of unchecking the appropriate checkbox, but this is a Microsoft product we're talking about.

How can I make my application work using IE and Tomcat combination.

What's not working? Why does your application need cookies disabled? It's usually the other way around. Is this not simply an academic exercise?


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Tomcat 5.5 + IE 6.0: Trouble with session cookies
 
Similar Threads
Disabling Cookies, created problem in web application??
Using RequestDispatcher with <c:url> tag
Disable browser cookies for a web application
Apache Tomcat Manager Configuration
disabling session cookies & using url rewriting instead, in tomcat 5.5.28