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 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...
>-----Original Message-----
>What browser? IE6 has cookies off by default, I believe.
>
>"cookie" <enig...@hotmail.com> wrote in message
>news:10ec01c233ef$51009c30$3bef2ecf@TKMSFTNGXA10...
>.
>
"cookie" <enig...@hotmail.com> wrote in message
news:10ec01c233ef$51009c30$3bef2ecf@TKMSFTNGXA10...
"cookie" <enig...@hotmail.com> wrote in message
news:10ec01c233ef$51009c30$3bef2ecf@TKMSFTNGXA10...
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!
>
>
>.
>
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!
>
>
>.
>
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...