Re: IE DOES NOT SUPPORT COOKIE on WIN2K and XP

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: krisrajz (krisrajz_at_discussions.microsoft.com)
Date: 03/08/05


Date: Mon, 7 Mar 2005 23:31:01 -0800

Please observe the code snippet

Shot #1

sample1.asp

<%
Session("test")="Session Testing"
Response.Cookies("cookietest")="Cookie Testing"
Response.write Session("test")
Response.Write Response.Cookies("cookietest")
%>

Does outputs Session Testing and Cookie Testing where as shot #2 does output
anything:

Shot #2

sample1.asp

<%
Session("test")="Session Testing"
Response.Cookies("cookietest")="Cookie Testing"
Response.Redirect "sample2.asp"
%>

sample2.asp

<%
Response.Write Session("test")
Response.Write Response.Cookies("cookietest")
%>

I've tested those pages on Avant Browser ( which is also IE based), it too
behaves as IE does. When I test pages on Opera, Netscape Navigator the pages
does output.

Why do IE behaves strangely on handling cookies and sessions? or Does IE
really has the ability to handle sessions efficiently?

Is there any patches available to fix the issue?

Any great workaround would be very much useful and appreciated.

TIA
RAJ.
"krisrajz" wrote:

> What's wrong with IE? or Do I need to disregard IE and to opt for other
> browsers?
>
> Is there any other programmable browsers available like IE?
>
> RAJ.
>
> "Dave Anderson" wrote:
>
> > Bob Barrows [MVP] wrote:
> > > The only way a browser can affect the ability to use sessions is by
> > > allowing/disallowing cookies.
> >
> > Within the same window, perhaps that is true. But Internet Explorer goes the
> > extra mile with the ability to prevent separate windows (or frames) from
> > sharing cookies with each other. And in a manner that's uncontrollable, no
> > less. Bravo, Microsoft!
> >
> >
> > --
> > Dave Anderson
> >
> > Unsolicited commercial email will be read at a cost of $500 per message. Use
> > of this email address implies consent to these terms. Please do not contact
> > me directly or ask me to contact you directly for assistance. If your
> > question is worth asking, it's worth posting.
> >
> >
> >



Relevant Pages

  • Sessions not retained in Firefox/Safari
    ... I'm using several Sessions in my app. ... But with cookies disabled, only IE ... How can I step through code using non-IE browsers? ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: [PHP] turning use session cookies off still uses cookies?
    ... lately with my sessions and certain browsers. ... cookies turned on, the sessions still don't seem to work. ... PHP splices the SID into every URL, ...
    (php.general)
  • Re: how to create remember login functionality during login
    ... turned off in their browsers. ... Use sessions instead. ... usually also use cookies (the SID can also be part of the URL, ...
    (comp.lang.php)
  • Re: Web server Cluster and SESSION.
    ... You can use both cookies and cookieless sessions. ... I doubt cookies has the hassle of sessions in a web cluster. ... Posted Via Usenet.com Premium Usenet Newsgroup Services ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Application level IDS?
    ... monitors html, web sessions, cookies, SQL traffic and is capable of ... Subject: Application level IDS? ... world's premier technical IT security event! ...
    (Focus-IDS)