PDA

Click to See Complete Forum and Search --> : cookies


razzaj
Feb 15th, 2001, 05:06 PM
we all know how to set cookies and write to cookies and then read from them .... that is all verry well .. but I tried within the same session (ie, didnt close the browser) to write first to a cooke and as usual it works ... but when I overwite I cant write to it again ...

ex :

Response.cookies("cookie")("name") = "asd'

then : Request.cookies("cookie")("name") gives asd

then I overwrite the cookie lets say like this :

Response.cookies("cookie")("name") =""

it is overwriten ..

now if I try to set it to a different thing it wont do ...
it will still be = ""

??? any ideas ?

Parasu Raman
Feb 15th, 2001, 11:24 PM
Hi rajjaz,
Ive worked with the same scenario, it works fine for me. Might be, try giving the cookies.expires option
If u post the code, mightbe, i can help

cheers
Parasuraman