473,386 Members | 1,790 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,386 software developers and data experts.

Cookie Problem

I am using cookies to keep track of users' sessions. If the cookie is
disbaled or browser do not support cookies we show an appropriate page
to the user saying that upgrade to such and such browser or enable the
cookies. Now, one of my users just install some latest windows patches
and suddenly it seems that cookies has stopped working. There is a
remmber me checkbox on my login page, if user checks it I write a
cookie. Its working fine at my PC and on many other PCs but on this
particular user's PC checking the rember me check box do not allow him
to login. If he unchecks it, it works fine. Please do not suggest
session tracking by attaching an ID in the URL.

Looking forward to your reply.
regards,
Beenish Sahar Khan

Sep 15 '06 #1
5 2386
http://msdn.microsoft.com/library/de...tateoption.asp


"Beenz" <be**********@gmail.comwrote in message news:11**********************@e3g2000cwe.googlegro ups.com...
>I am using cookies to keep track of users' sessions. If the cookie is
disbaled or browser do not support cookies we show an appropriate page
to the user saying that upgrade to such and such browser or enable the
cookies. Now, one of my users just install some latest windows patches
and suddenly it seems that cookies has stopped working. There is a
remmber me checkbox on my login page, if user checks it I write a
cookie. Its working fine at my PC and on many other PCs but on this
particular user's PC checking the rember me check box do not allow him
to login. If he unchecks it, it works fine. Please do not suggest
session tracking by attaching an ID in the URL.

Looking forward to your reply.
regards,
Beenish Sahar Khan

Sep 16 '06 #2
read it but wasn't able to find anything usefull w.r.t. my problem. Am
I missing something?
Jon Paal wrote:
http://msdn.microsoft.com/library/de...tateoption.asp


"Beenz" <be**********@gmail.comwrote in message news:11**********************@e3g2000cwe.googlegro ups.com...
I am using cookies to keep track of users' sessions. If the cookie is
disbaled or browser do not support cookies we show an appropriate page
to the user saying that upgrade to such and such browser or enable the
cookies. Now, one of my users just install some latest windows patches
and suddenly it seems that cookies has stopped working. There is a
remmber me checkbox on my login page, if user checks it I write a
cookie. Its working fine at my PC and on many other PCs but on this
particular user's PC checking the rember me check box do not allow him
to login. If he unchecks it, it works fine. Please do not suggest
session tracking by attaching an ID in the URL.

Looking forward to your reply.
regards,
Beenish Sahar Khan
Sep 18 '06 #3
I wish someone would take this topic seriously.
We have a lot of users not being able to login, seems somehow cookies can
not be saved while javascript and dotnet code show the client has cookies
enabled.
I guess it's a anti-virus matter or sort of.
Using cookie-less is just a very poor solution.

Imo it only happens with MSIE.

"Beenz" <be**********@gmail.comschreef in bericht
news:11**********************@e3g2000cwe.googlegro ups.com...
>I am using cookies to keep track of users' sessions. If the cookie is
disbaled or browser do not support cookies we show an appropriate page
to the user saying that upgrade to such and such browser or enable the
cookies. Now, one of my users just install some latest windows patches
and suddenly it seems that cookies has stopped working. There is a
remmber me checkbox on my login page, if user checks it I write a
cookie. Its working fine at my PC and on many other PCs but on this
particular user's PC checking the rember me check box do not allow him
to login. If he unchecks it, it works fine. Please do not suggest
session tracking by attaching an ID in the URL.

Looking forward to your reply.
regards,
Beenish Sahar Khan

Sep 18 '06 #4
Without specifics it's not possible to be more helpful. We can't see your code and you have not provided any error messages. You
are simply telling us sometimes it works, sometimes it doesn't.

Chances are if it is working for you and others then the problem is with the single user.

perhaps he is caching old pages and needs to set his browser to refresh on every visit to thepage.

or ... ???
"Beenz" <be**********@gmail.comwrote in message news:11**********************@m73g2000cwd.googlegr oups.com...
read it but wasn't able to find anything usefull w.r.t. my problem. Am
I missing something?
Jon Paal wrote:
>http://msdn.microsoft.com/library/de...tateoption.asp


"Beenz" <be**********@gmail.comwrote in message news:11**********************@e3g2000cwe.googlegro ups.com...
>I am using cookies to keep track of users' sessions. If the cookie is
disbaled or browser do not support cookies we show an appropriate page
to the user saying that upgrade to such and such browser or enable the
cookies. Now, one of my users just install some latest windows patches
and suddenly it seems that cookies has stopped working. There is a
remmber me checkbox on my login page, if user checks it I write a
cookie. Its working fine at my PC and on many other PCs but on this
particular user's PC checking the rember me check box do not allow him
to login. If he unchecks it, it works fine. Please do not suggest
session tracking by attaching an ID in the URL.

Looking forward to your reply.
regards,
Beenish Sahar Khan

Sep 18 '06 #5
Well, due misunderstaning i never stored with persistant boolean set to
true.
After reading this is used to use the cookie between sessions.
Yesterday i set this to true, today i had no complaints but i'll have to
wait a few days more.

From the help:
"true if the ticket will be stored in a persistent cookie (saved across
browser sessions); otherwise, false. If the ticket is stored in the URL,
this value is ignored."

I have the feeling this is it.
"Jon Paal" <Jon[ nospam ]Paal @ everywhere dot comschreef in bericht
news:%2****************@TK2MSFTNGP04.phx.gbl...
Without specifics it's not possible to be more helpful. We can't see your
code and you have not provided any error messages. You are simply telling
us sometimes it works, sometimes it doesn't.

Chances are if it is working for you and others then the problem is with
the single user.

perhaps he is caching old pages and needs to set his browser to refresh on
every visit to thepage.

or ... ???
"Beenz" <be**********@gmail.comwrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...
>read it but wasn't able to find anything usefull w.r.t. my problem. Am
I missing something?
Jon Paal wrote:
>>http://msdn.microsoft.com/library/de...tateoption.asp


"Beenz" <be**********@gmail.comwrote in message
news:11**********************@e3g2000cwe.googleg roups.com...
I am using cookies to keep track of users' sessions. If the cookie is
disbaled or browser do not support cookies we show an appropriate page
to the user saying that upgrade to such and such browser or enable the
cookies. Now, one of my users just install some latest windows patches
and suddenly it seems that cookies has stopped working. There is a
remmber me checkbox on my login page, if user checks it I write a
cookie. Its working fine at my PC and on many other PCs but on this
particular user's PC checking the rember me check box do not allow him
to login. If he unchecks it, it works fine. Please do not suggest
session tracking by attaching an ID in the URL.

Looking forward to your reply.
regards,
Beenish Sahar Khan


Sep 19 '06 #6

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

Similar topics

18
by: Paul | last post by:
I link to a web site from an Excel spreadsheet. The page i link to is getCookie.asp which sets a cookie then returns back some html which opens a new window, to the same site but a different page...
2
by: Syed Ghayas | last post by:
Hi, I've been having problem writing a cookie. Everything goes ok but when I supply the .Path property to "/" It just write the cookie when there is no cookie present, but when I try to update the...
7
by: Christoph Pieper | last post by:
Hi, we've the following problem : We have an asp-application which sets the cookie on first login. The cookie will never be touched during user access. The user can work the whole day, but...
2
by: marshalli | last post by:
Hi: I have a problem with writing cookie from Jacascript. My problem is that I have two server, one is A, and the other is B. (1) I call a aaa.html from A. In aaa.html : ... <iframe...
3
by: Ben | last post by:
I'm having problems with cookies from asp.net to asp back to asp.net. It seems like I can set a cookie in asp.net fine, and alter it at will, as soon as asp touches it, asp.net won't have...
3
by: Wysiwyg | last post by:
After a server created cookie is processed on the client I want it removed, cleared, or expired in the javascript block but have been unable to do this. If I set a cookie value in the server code...
5
by: Miljana | last post by:
Hi, I have one problem with cookies in ASP.NET application. It seems that I can not retreive cookie from Request.Cookies collection. I put cookie in Response.Cookies collection, and after page...
6
by: kelvlam | last post by:
Hello all, I'm still a bit new with JavaScript, and I hope the guru here can shed some light for me. It's regarding handling cookie and the case-sensitive nature of JavaScript itself. My...
5
by: SJ | last post by:
Hi, In my website, i have a cookie that allows the user to remain logged in for upto 90days. So I'm setting the cookie expiration time to 90 days in the future from the time the user logs in....
29
by: Jerim79 | last post by:
I did try to find the answer to this before posting, so this isn't a knee jerk reaction. What I am trying to accomplish is to have a script that opens a cookie, reads a value, and then use a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.