cookie problems

M

monki

i am trying to set a cookie to the user of the site and then pull the data
back to view the cookie data.

this works fine locally on iis, however it does not work using a different
pc. (cookies allowed)

any suggestions?

thanks in advance

j

below are extracts from the 2 pages
----------------------------------------------------
num=1
Response.Cookies (""&vsession&"").Expires=Date() + 90
Response.Cookies (""&vsession&"")("date")=Date()
rs.MoveFirst
Do while NOT rs.EOF
Response.Cookies (""&vsession&"")("item,"&num)=rs("prodId")
Response.Cookies (""&vsession&"")("qty," &num)= rs("Qty")
num=num+1
rs.MoveNext
Loop

----------------------------------------------------------------------------
--


i=1
for each x in Request.Cookies

response.write "quote-"&i&"-"&x&"<br>"
i=i+1

if Request.Cookies(x).HasKeys then
for each y in Request.Cookies(x)
response.write( y & "=" & Request.Cookies(x)(y))
response.write("<br />")
next
else
Response.Write(Request.Cookies(x) & "<br />")
end if

response.write "<br>"

next
 
M

monki

dont worry - when the site is live it is ok - must be a local issue,
probably firewall
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,078
Latest member
MakersCBDBlood

Latest Threads

Top