Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

regarding cookies

 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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)
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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)?
 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic