Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Cookie Question


Message #1 by "Bob Burkett" <bobb0198@h...> on Thu, 19 Apr 2001 11:39:26 -0500
I need some elaboration about what the following statement does ...



Response.Cookies("MyCookie").Domain =3D "asp17.com



:-)))



Bob

bobb0198@h...





Message #2 by Imar Spaanjaars <Imar@S...> on Thu, 19 Apr 2001 19:01:14 +0200
This will set the domain of a cookie to "asp17.com"



This will restrict the usage, or scope, of the cookie to the domain you set 

it to. (It defaults to the current domain, though, so usually there is no 

need to set it explicitly).





HtH



Imar





At 11:39 AM 4/19/2001 -0500, you wrote:

>I need some elaboration about what the following statement does ...

>

>Response.Cookies("MyCookie").Domain = "asp17.com

>

>:-)))

>

>Bob

>bobb0198@h...



Message #3 by Imar Spaanjaars <Imar@S...> on Thu, 19 Apr 2001 19:06:56 +0200
And additionally, check out:



http://msdn.microsoft.com/library/partbook/instantj/cookietheory.htm



under domain, you'll find a more thorough explanation.



HtH



Imar







At 07:01 PM 4/19/2001 +0200, you wrote:

>This will set the domain of a cookie to "asp17.com"

>

>This will restrict the usage, or scope, of the cookie to the domain you 

>set it to. (It defaults to the current domain, though, so usually there is 

>no need to set it explicitly).

>

>

>HtH

>

>Imar

>

>

>At 11:39 AM 4/19/2001 -0500, you wrote:

>>I need some elaboration about what the following statement does ...

>>

>>Response.Cookies("MyCookie").Domain = "asp17.com

>>

>>:-)))

>>

>>Bob

>>bobb0198@h...




  Return to Index