E
Eric
Hello,
My ASP.NET 2.0 / Classic ASP app is using cookies, and I'm trying to
figure out a why I'm not seeing a cookie value being initialized in my
ASP.NET side. I'm using IE 7 and running my app locally using IIS 5.1/
Win XP Pro SP2, I deleted my cookie file and then was trying to test
some changes that I'd made to my app to try to recover from this type
of situation.
However, when I look at my cookies in IECookiesView 1.70 or if I go to
C:\Documents and Settings\username\Cookies and look inside the
cookies, the cookie looks quite different than what I see if I use
Me.Context.Request.Cookies or if I use the IE Developer toolbar, it's
kind of like the parable about a man who has two watches never knowing
the correct time.
My cookies have crumbs so in the IE developer toolbar or using
Me.Context.Request.Cookies.Value, I see something like the following
which came from IE developer toolbar:
<cookie><name>APP%5FTHM</name><value>LastLoginOrg=1234</
value><expires>At the end of the Session</expires><domain>localhost</
domain><path>/</path></cookie>
This cookie only has one crumb, it should have more.
However, if I use the IECookiesView 1.70 or if I go to C:\Documents
and Settings\username\Cookies and look inside the cookie file for
localhost I see something like:
<cookie><name>APP%5FTHM</
name><value>LastLoginOrg=abcd&ThmId=5&ThmClr=3</value><expires>At the
end of the Session</expires><domain>localhost</domain><path>/</path></
cookie>.
Note that there are a lot more crumbs here, and the value of
LastLoginOrg is different.
Could the cookie values that IE7 has in memory be different from what
is on the disk? That would seem to defeat the whole point of using
cookies.
-Eric
My ASP.NET 2.0 / Classic ASP app is using cookies, and I'm trying to
figure out a why I'm not seeing a cookie value being initialized in my
ASP.NET side. I'm using IE 7 and running my app locally using IIS 5.1/
Win XP Pro SP2, I deleted my cookie file and then was trying to test
some changes that I'd made to my app to try to recover from this type
of situation.
However, when I look at my cookies in IECookiesView 1.70 or if I go to
C:\Documents and Settings\username\Cookies and look inside the
cookies, the cookie looks quite different than what I see if I use
Me.Context.Request.Cookies or if I use the IE Developer toolbar, it's
kind of like the parable about a man who has two watches never knowing
the correct time.
My cookies have crumbs so in the IE developer toolbar or using
Me.Context.Request.Cookies.Value, I see something like the following
which came from IE developer toolbar:
<cookie><name>APP%5FTHM</name><value>LastLoginOrg=1234</
value><expires>At the end of the Session</expires><domain>localhost</
domain><path>/</path></cookie>
This cookie only has one crumb, it should have more.
However, if I use the IECookiesView 1.70 or if I go to C:\Documents
and Settings\username\Cookies and look inside the cookie file for
localhost I see something like:
<cookie><name>APP%5FTHM</
name><value>LastLoginOrg=abcd&ThmId=5&ThmClr=3</value><expires>At the
end of the Session</expires><domain>localhost</domain><path>/</path></
cookie>.
Note that there are a lot more crumbs here, and the value of
LastLoginOrg is different.
Could the cookie values that IE7 has in memory be different from what
is on the disk? That would seem to defeat the whole point of using
cookies.
-Eric