Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

who ate my cookies?

0 views
Skip to first unread message

cookie

unread,
Jul 25, 2002, 11:24:06 AM7/25/02
to
Hi there,
I seem to loose my cookies if I go to another page!

I have page1.asp with :
response.cookies("user")="greengoblin"
request.cookies("user")

that works fine, I am able to retrieve the cookie, however
if I go to the next page with:

request.cookies("user")

... I don't get anything!!! I am running on a hungry NT4
server, IIS4.
any help is appreciated!

Curt_C

unread,
Jul 25, 2002, 11:33:04 AM7/25/02
to
1) make sure that it's not a client setting issue.
2) make sure that you don't have an "_" (underscore) in the server name if
you are calling it like http://server_name/page.asp
3) the fact thatyou can write/read on the SAME page is really not an
indicator...this will almost always be allowed.


--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
..Offering free scripts & code snippits for everyone...
---------------------------------------------------------


"cookie" <enig...@hotmail.com> wrote in message
news:10ec01c233ef$51009c30$3bef2ecf@TKMSFTNGXA10...

cookie

unread,
Jul 25, 2002, 11:53:43 AM7/25/02
to
IE6, but other cookies work fine, and I have not exceeded
the max no. (I have only 2!)

>-----Original Message-----
>What browser? IE6 has cookies off by default, I believe.


>
>"cookie" <enig...@hotmail.com> wrote in message
>news:10ec01c233ef$51009c30$3bef2ecf@TKMSFTNGXA10...

>.
>

Aaron Bertrand [MVP]

unread,
Jul 25, 2002, 11:58:45 AM7/25/02
to
http://www.aspfaq.com/2157


"cookie" <enig...@hotmail.com> wrote in message
news:10ec01c233ef$51009c30$3bef2ecf@TKMSFTNGXA10...

Jeff Dillon

unread,
Jul 25, 2002, 11:41:07 AM7/25/02
to
What browser? IE6 has cookies off by default, I believe.

"cookie" <enig...@hotmail.com> wrote in message
news:10ec01c233ef$51009c30$3bef2ecf@TKMSFTNGXA10...

cookie

unread,
Jul 25, 2002, 12:01:44 PM7/25/02
to
1). other cookies okay (total of 2 cookies used)
2). nope, the 2 pages are relative.
3). that's a thought...

on page1.asp, I have:
<%
response.cookies("user")="greengoblin"
response.write request.cookies("user")
%>
<META HTTP-EQUIV='Refresh' Content='2; URL="page2.asp">

on page2.asp, first line:
<%
response.write request.cookies("user")
%>


page1.asp displays greengoblin
page2.asp does not.

>-----Original Message-----
>1) make sure that it's not a client setting issue.
>2) make sure that you don't have an "_" (underscore) in
the server name if
>you are calling it like http://server_name/page.asp
>3) the fact thatyou can write/read on the SAME page is
really not an
>indicator...this will almost always be allowed.
>
>
>--
>----------------------------------------------------------
>Curt Christianson (Software_AT_Darkfalz.Com)
>Owner/Lead Designer, DF-Software
>http://www.Darkfalz.com
>---------------------------------------------------------

>...Offering free scripts & code snippits for everyone...


>---------------------------------------------------------
>
>
>"cookie" <enig...@hotmail.com> wrote in message
>news:10ec01c233ef$51009c30$3bef2ecf@TKMSFTNGXA10...
>> Hi there,
>> I seem to loose my cookies if I go to another page!
>>
>> I have page1.asp with :
>> response.cookies("user")="greengoblin"
>> request.cookies("user")
>>
>> that works fine, I am able to retrieve the cookie,
however
>> if I go to the next page with:
>>
>> request.cookies("user")
>>
>> ... I don't get anything!!! I am running on a hungry NT4
>> server, IIS4.
>> any help is appreciated!
>
>

>.
>

cookie

unread,
Jul 25, 2002, 12:01:50 PM7/25/02
to
1). other cookies okay (total of 2 cookies used)
2). nope, the 2 pages are relative.
3). that's a thought...

on page1.asp, I have:
<%
response.cookies("user")="greengoblin"
response.write request.cookies("user")
%>
<META HTTP-EQUIV='Refresh' Content='2; URL="page2.asp">

on page2.asp, first line:
<%
response.write request.cookies("user")
%>


page1.asp displays greengoblin
page2.asp does not.

>-----Original Message-----
>1) make sure that it's not a client setting issue.
>2) make sure that you don't have an "_" (underscore) in
the server name if
>you are calling it like http://server_name/page.asp
>3) the fact thatyou can write/read on the SAME page is
really not an
>indicator...this will almost always be allowed.
>
>
>--
>----------------------------------------------------------
>Curt Christianson (Software_AT_Darkfalz.Com)
>Owner/Lead Designer, DF-Software
>http://www.Darkfalz.com
>---------------------------------------------------------

>...Offering free scripts & code snippits for everyone...


>---------------------------------------------------------
>
>
>"cookie" <enig...@hotmail.com> wrote in message
>news:10ec01c233ef$51009c30$3bef2ecf@TKMSFTNGXA10...
>> Hi there,
>> I seem to loose my cookies if I go to another page!
>>
>> I have page1.asp with :
>> response.cookies("user")="greengoblin"
>> request.cookies("user")
>>
>> that works fine, I am able to retrieve the cookie,
however
>> if I go to the next page with:
>>
>> request.cookies("user")
>>
>> ... I don't get anything!!! I am running on a hungry NT4
>> server, IIS4.
>> any help is appreciated!
>
>

>.
>

Jeff Dillon

unread,
Jul 25, 2002, 12:28:55 PM7/25/02
to
the meta refresh might not be making the proper round trip.

What if you simply have 2 pages..browse to the first, then manually browse
to the second.. in other words, remove your META tag, and test.

jeff

"cookie" <engi...@hotmail.com> wrote in message
news:0f3001c233f4$95ff2b80$a5e62ecf@tkmsftngxa07...

0 new messages