Closed Thread Icon

Topic awaiting preservation: ASP session cookies - need perm. (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=11964" title="Pages that link to Topic awaiting preservation: ASP session cookies - need perm. (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: ASP session cookies - need perm. <span class="small">(Page 1 of 1)</span>\

 
KirbyWallace
Nervous Wreck (II) Inmate

From:
Insane since: Dec 2001

posted posted 12-22-2001 08:32

One of my ASP pages sets a cookie. After setting the cookie (response.cookie()) checking the cookie (request.cookie()) claims the cookie is there. But when the browser is closed, there is no cookie in the "temp inet files" folder. It seems it is setting a "per session" cookie, and I need it to WRITE the cookie to the "temp Inet Files" folder like any other website seems to do. But it doesn't do it.

Any ideas?

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 12-23-2001 03:00

I'm not an ASP expert but it could be that you are not setting the domain, path or experation dates properly when setting the cookie. Also I believe that only IE uses the temp ineternet files dir.



:[ Computers let you make more mistakes faster than any other invention in human history, with the possible exceptions of handguns and tequila. ]:

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 12-23-2001 15:26

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

Sash
Paranoid (IV) Inmate

From: Canada, Toronto
Insane since: May 2000

posted posted 12-24-2001 01:03

Response.Cookies("CookieName").Expires = Date + 7

For one week for example.

KirbyWallace
Nervous Wreck (II) Inmate

From:
Insane since: Dec 2001

posted posted 12-24-2001 08:31

cookie().Expires...

Aye, that's the rub!

Freakin' InterDev IDE. popup tooltips show COUNT, ITEM (and KEY I think), but says nothing of "expires"

Thanks!



« BackwardsOnwards »

Show Forum Drop Down Menu