Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Cookies


Message #1 by George Smyth <george.smyth@U...> on Mon, 29 Jan 2001 14:50:53 -0500
I am writing a polling application that saves a cookie on the user's machine

so that they can only vote once.  Everything works fine, however, when I set

a cookie with Internet Explorer, Netscape does not read the same value (and

vice versa).  It is as if each browser is looking only at their own cookies.



Is this how things work?



Thanks -



George L Smyth, Webmaster

US Naval Academy Alumni Association





Message #2 by "Gerhard Wentink" <wentink@w...> on Mon, 29 Jan 2001 21:50:38 +0100
I'm afraid that's the case.

Each browser has his own cache in wich it keeps the cookies



Gerhard Wentink

wentink@w...

www.webset.nl



----- Original Message -----

From: "George Smyth" <george.smyth@U...>

To: "ASP Web HowTo" <asp_web_howto@p...>

Sent: Tuesday, January 30, 2001 5:15 AM

Subject: [asp_web_howto] Cookies





> I am writing a polling application that saves a cookie on the user's

machine

> so that they can only vote once.  Everything works fine, however, when I

set

> a cookie with Internet Explorer, Netscape does not read the same value

(and

> vice versa).  It is as if each browser is looking only at their own

cookies.

>

> Is this how things work?

>

> Thanks -

>

> George L Smyth, Webmaster

> US Naval Academy Alumni Association

>

>

>
Message #3 by George Smyth <george.smyth@U...> on Wed, 31 Jan 2001 14:27:47 -0500
I posted the below a couple of days ago without seeing a response.

Hopefully, someone will have an idea.



I am writing a polling application that saves a cookie on the user's machine

so that they can only vote once.  Everything works fine, however, when I set

a cookie with Internet Explorer, Netscape does not read the same value (and

vice versa).  It is as if each browser is looking only at their own cookies.



Is this how things work?



Thanks -



George L Smyth, Webmaster

US Naval Academy Alumni Association

Message #4 by "JstMeHr4u3" <jstmehr4u3@h...> on Wed, 31 Jan 2001 11:54:26 -0800
I believe your repsonse was:

>>I'm afraid that's the case.

>>Each browser has his own cache in wich it keeps the cookies



>>Gerhard Wentink

>>wentink@w...

>>www.webset.nl



Sorry if that isnt what you wanted. The idea is you will have to program

your webstie to tell what browser they are using. Based on what browser they

are using, look in that specific location for your cookie.



----- Original Message -----

From: "George Smyth" <george.smyth@U...>

To: "ASP Web HowTo" <asp_web_howto@p...>

Sent: Wednesday, January 31, 2001 11:27 AM

Subject: [asp_web_howto] Cookies





> I posted the below a couple of days ago without seeing a response.

> Hopefully, someone will have an idea.

>

> I am writing a polling application that saves a cookie on the user's

machine

> so that they can only vote once.  Everything works fine, however, when I

set

> a cookie with Internet Explorer, Netscape does not read the same value

(and

> vice versa).  It is as if each browser is looking only at their own

cookies.

>

> Is this how things work?

>

> Thanks -

>

> George L Smyth, Webmaster

> US Naval Academy Alumni Association

>
Message #5 by George Smyth <george.smyth@U...> on Wed, 31 Jan 2001 15:01:08 -0500
Okay, I must have missed the response - and that isn't what I wanted. <g>



Has anyone already written the code for this, or should I just go ahead and

start from scratch?



Thanks -



George L Smyth, Webmaster

US Naval Academy Alumni Association



 -----Original Message-----

From: 	JstMeHr4u3 [mailto:jstmehr4u3@h...] 

Sent:	Wednesday, January 31, 2001 2:54 PM

To:	ASP Web HowTo

Subject:	[asp_web_howto] Re: Cookies



I believe your repsonse was:

>>I'm afraid that's the case.

>>Each browser has his own cache in wich it keeps the cookies



>>Gerhard Wentink

>>wentink@w...

>>www.webset.nl



Sorry if that isnt what you wanted. The idea is you will have to program

your webstie to tell what browser they are using. Based on what browser they

are using, look in that specific location for your cookie.



----- Original Message -----

From: "George Smyth" <george.smyth@U...>

To: "ASP Web HowTo" <asp_web_howto@p...>

Sent: Wednesday, January 31, 2001 11:27 AM

Subject: [asp_web_howto] Cookies





> I posted the below a couple of days ago without seeing a response.

> Hopefully, someone will have an idea.

>

> I am writing a polling application that saves a cookie on the user's

machine

> so that they can only vote once.  Everything works fine, however, when I

set

> a cookie with Internet Explorer, Netscape does not read the same value

(and

> vice versa).  It is as if each browser is looking only at their own

cookies.

>

> Is this how things work?

>

> Thanks -

>

> George L Smyth, Webmaster

> US Naval Academy Alumni Association

>
Message #6 by "Wally Burfine" <oopconsultant@h...> on Wed, 31 Jan 2001 19:59:59 -0000
Netscape and IE don't store cookies the same way. IE stores a single cookie 

in it's own file. Netscape stores all cookies in one file. And never the 

twain shall meet. Also, cookies can easily be deleted, so your skeam may not 

work as you would expect.





>From: George Smyth <george.smyth@U...>

>Reply-To: "ASP Web HowTo" <asp_web_howto@p...>

>To: "ASP Web HowTo" <asp_web_howto@p...>

>Subject: [asp_web_howto] Cookies

>Date: Wed, 31 Jan 2001 14:27:47 -0500

>

>I posted the below a couple of days ago without seeing a response.

>Hopefully, someone will have an idea.

>

>I am writing a polling application that saves a cookie on the user's 

>machine

>so that they can only vote once.  Everything works fine, however, when I 

>set

>a cookie with Internet Explorer, Netscape does not read the same value (and

>vice versa).  It is as if each browser is looking only at their own 

>cookies.

>

>Is this how things work?

>

>Thanks -

>

>George L Smyth, Webmaster

>US Naval Academy Alumni Association

>
Message #7 by George Smyth <george.smyth@U...> on Wed, 31 Jan 2001 15:22:27 -0500
I'd like to prevent the situation where someone uses IE to cast their vote,

then Netscape to cast another vote.



This isn't critical (I'd write it much differently if it were), but it'd be

nice to be able to patch up this possibility.



Cheers -



George L Smyth, Webmaster

US Naval Academy Alumni Association



 -----Original Message-----

From: 	Wally Burfine [mailto:oopconsultant@h...] 

Sent:	Wednesday, January 31, 2001 3:00 PM

To:	ASP Web HowTo

Subject:	[asp_web_howto] Re: Cookies



Netscape and IE don't store cookies the same way. IE stores a single cookie 

in it's own file. Netscape stores all cookies in one file. And never the 

twain shall meet. Also, cookies can easily be deleted, so your skeam may not



work as you would expect.





>From: George Smyth <george.smyth@U...>

>Reply-To: "ASP Web HowTo" <asp_web_howto@p...>

>To: "ASP Web HowTo" <asp_web_howto@p...>

>Subject: [asp_web_howto] Cookies

>Date: Wed, 31 Jan 2001 14:27:47 -0500

>

>I posted the below a couple of days ago without seeing a response.

>Hopefully, someone will have an idea.

>

>I am writing a polling application that saves a cookie on the user's 

>machine

>so that they can only vote once.  Everything works fine, however, when I 

>set

>a cookie with Internet Explorer, Netscape does not read the same value (and

>vice versa).  It is as if each browser is looking only at their own 

>cookies.

>

>Is this how things work?

>

>Thanks -

>

>George L Smyth, Webmaster

>US Naval Academy Alumni Association

>

  Return to Index