473,508 Members | 2,226 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

odd cookie issue (I think)

Our CMS application, when you log in, writes a cookie to your computer and
stores a variety of permission variables that pertain to you.

Whenever we update data in the CMS in our application, we grab these
variables from the cookie.

This works. Usually. Once in a while, though, it doesn't grab the variable
from the cookie. It's just empty, which gives us an error down the road. Hit
save again, and things are back to normal.

Any reason for this?

-Darrel
Jun 1 '06 #1
6 1786
Your job is to reproduce this behavior consistently

"darrel" <no*****@nowhere.com> wrote in message
news:e5**************@TK2MSFTNGP03.phx.gbl...
Our CMS application, when you log in, writes a cookie to your computer and
stores a variety of permission variables that pertain to you.

Whenever we update data in the CMS in our application, we grab these
variables from the cookie.

This works. Usually. Once in a while, though, it doesn't grab the variable
from the cookie. It's just empty, which gives us an error down the road.
Hit save again, and things are back to normal.

Any reason for this?

-Darrel

Jun 1 '06 #2

"darrel" <no*****@nowhere.com> wrote in message
news:e5**************@TK2MSFTNGP03.phx.gbl...
Our CMS application, when you log in, writes a cookie to your computer and
stores a variety of permission variables that pertain to you.

Whenever we update data in the CMS in our application, we grab these
variables from the cookie.

This works. Usually. Once in a while, though, it doesn't grab the variable
from the cookie. It's just empty, which gives us an error down the road. Hit save again, and things are back to normal.

Any reason for this?

-Darrel

Whenever I add or change a cookie, I always reset the expiration and add it
back to the response cookie. I read somewhere that you need to do that even
if the original cookie it not expired. You may want look into that
possibility.
Mike
Jun 1 '06 #3
> Your job is to reproduce this behavior consistently

Ha! Yes. I do wish... ;o)

-Darrel
Jun 1 '06 #4
darrel wrote:
Your job is to reproduce this behavior consistently


Ha! Yes. I do wish... ;o)

-Darrel

Its actually half a joke. ;) If you're wanting help, you're going to
need to trace this back to the offending issue.

Have fun! :)

Regards
Ray
Jun 1 '06 #5
> Whenever I add or change a cookie, I always reset the expiration and add
it
back to the response cookie. I read somewhere that you need to do that
even
if the original cookie it not expired. You may want look into that


Good idea...will check into that!

-Darrel
Jun 1 '06 #6
> Its actually half a joke. ;) If you're wanting help, you're going to
need to trace this back to the offending issue.


Oh, I know. I wish I could. We can't replicate it though. It's more like a 1
out of 10 times type of thing.

We're doing some shot-in-the-dark stuff, but thought I'd ask in case there
is some known issue with using cookies like this.

-Darrel
Jun 1 '06 #7

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

Similar topics

1
3440
by: Marcellus Wallace | last post by:
i've been trying to fix this all day, and could use some help my setup: i have an apache server (1.3.29 on linux) on my home network. I use this server for development (perl). i have a...
1
1583
by: changed | last post by:
I'm having an inconsistent problem involving cookies. I have attempted to duplicate the OS/browser settings for the remote users in question but I cannot seem to duplicate the problem in any OS...
0
732
by: Andy Rose | last post by:
Hi all, I have a property that stores a value to a cookie and retrieves it if the cookie exists or returns a default value if it doesn't in my web app. private static string ID { get {...
7
7757
by: Doug | last post by:
An ASP.NET session cookie set on "www.mydomain.com" can not be accessed on "search.mydomain.com"; hence, a new session and cookie are being created on every sub-domain. This is occuring because...
1
1585
by: flutetones | last post by:
http://67.189.52.24/~metafusionserver/public_html/training.php Here is a link to my server. I have an issue that doen't make sense. What's hapening is this . . . What's going right . . .
0
1106
by: geek7 | last post by:
Hello there, I have written an app which uses php authentication. I had it working fine on one system, but I had to move it to a dedicated webserver. Now, I can only login if I clear my...
2
6301
freddieMaize
by: freddieMaize | last post by:
Hi everyone, I'm trying to access a url from java (using java post method). The url is a login page. I then insert values (username and password) to it an try to post that page. Below is my code,...
1
2977
gagandeepgupta16
by: gagandeepgupta16 | last post by:
Hi I have one website -A in which there is an Iframe. 1. If i call another website -B inside the iframe in A then cookie is not getting created. 2. If the same website B is directly opened on...
0
7123
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
7326
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7046
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
5627
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4707
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3194
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3182
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1557
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
418
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.