473,396 Members | 1,895 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

cookies issue

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
Jul 19 '05 #1
3 1234
Have you thought about scrapping the dependancy on cookies and instead using
a database enabled solution?

--
Cheers!

Ryan N.
---------------------------------
Funny...this worked yesterday....
"Rafael Chemtob" <rc*******@nospam.yahoo.com> wrote in message
news:OJ*************@tk2msftngp13.phx.gbl...
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

Jul 19 '05 #2
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.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 19 '05 #3
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...
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: | last post by:
Is it possible for a user to enable permanent cookies but disable session cookies.....this seems like a contradition yet this is what I appear to be reading in online articles?
3
by: Marcin Gorzynski | last post by:
Hi Our partner is using our page in a frame. That couses a problem because our domain is unable to issue the cookie also session does not work. each time you click in the frame new session is...
3
by: Joey Powell | last post by:
This message was originally posted to the aspnet.security newsgroup, but no one there has ever heard of this before. That is why I am posting this message here, so that more people will see it... ...
4
by: mike parr | last post by:
I'm trying to do a check to see if the client browser has cookies enabled. But my code below always gives me the value for acceptsCookies = true, whether the machine has cookies enabled or not. ...
5
by: yawnmoth | last post by:
If running off of the local filesystem, in Firefox, or if the security settings are set appropriately, in Internet Exporer, XmlHttpRequests can be sent to any domain of your chosing. But what...
5
by: Kevin Blount | last post by:
I've setup a method (C#) that I can call, passing it a cookie name, then a name-value pair. The idea is that as I can't append to a cookie, I read the cookie value, append by name=pair to the end...
3
by: Patrick Dugan | last post by:
I have a mix of ASP pages and ASP.NET pages within a web site. One of the first asp pages creates several cookies with values. When I try to read those same cookie values in the ASP.NET pages the...
13
by: Jon Slaughter | last post by:
How does one handle cookies!!! I have a login script and the user inputs the information but whats the point if I cannot save the stuff because the headers are already sent. I guess I have to...
3
by: insomniac | last post by:
Hello, I'm not a newbie to cookies, however I am stumpped by a receent issue that has come up. I am running my web application through a frame that belongs to another company. This application...
2
by: StanB | last post by:
I came across this weird problem: 1. Session state stops working after the app is deployed to another server because IE does not accept cookies. 2. It works if cookieless="true" in the...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.