cookies issue

R

Rafael Chemtob

Hi,

I have an application that when it loads, it checks for a cookie on the
client side. If the cookie exists, it sets a variable on the specific ASP
page for certain fields to be populated.
Our problem is that some user sessions have data left over in cookies that
are from a previous user session.
Anyone ever have this problem.
Please advise if you can help me fix it.
thanks
rafael
 
R

Ryan N.

Have you thought about scrapping the dependancy on cookies and instead using
a database enabled solution?
 
E

Evertjan.

Rafael Chemtob wrote on 11 feb 2004 in
microsoft.public.inetserver.asp.general:
I have an application that when it loads, it checks for a cookie on
the client side. If the cookie exists, it sets a variable on the
specific ASP page for certain fields to be populated.
Our problem is that some user sessions have data left over in cookies
that are from a previous user session.

I suppose you are using ASP:

If you want info ONLY if you are still in a session,
use a session variable, not a cookie.
 
B

Bullschmidt

You could set the expiration of the cookie to be something like 1 day.

Best regards,
J. Paul Schmidt, Freelance ASP Web Developer
http://www.Bullschmidt.com
ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...
 

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
474,145
Messages
2,570,826
Members
47,371
Latest member
Brkaa

Latest Threads

Top