Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

regarding cookies

 
Kranthi Kondapaka
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi everyone

I am unable to achieve cookie management in internet explorer where as i am able to manage this in mozilla...

can any one provide me the cookies code to store my userid and password in my login page(for internet explorer)
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The server-side code is the same regardless of the client. That's the benefit of using standardized protocols like HTTP.

What does "unable to achieve cookie management in IE" mean? Is the cookie being sent by the server (and by that I mean "have you observed it in transit using an HTTP or TCP/IP sniffer", not "did the server-side code to set the cookie run")? Are any of the IE options set that would prevent the cookie from being accepted? Does IE send the cookie with the next HTTP request (again, did you observe that IE does or does not do so)?
 
Gangadhar Reddy
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Ulf,
Even I had faced same situation with IE. Here is the complete description.

If you disable cookies in your IE, and tried to access application FROM LOCALHOST, such as, http://localhost:8080/xxxx then you will get results which are same as that of enabling cookies.

The reason is very simple, IE will consider users request to diable cookies ONLY if the request comes from, out side of the current system or N/W i.e, OUT OF LOCALHOST. So, any request that comes to IE from localhost will not have any impact whether cookies are enables or diabled. IE will consider users request to diable cookies only if the request comes from NON LOCALHOST

Where as mozilla is not as such. If you disable cookies at mozilla, then it wont allow even Localhost to store the cookies. That is how mozilla behaves.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic