When you create a cookie via server side script:

VB ASP:

Response.Cookies("Name") = "Value"

This actually adds the headers to the web page that is served to the
client to create the cookies on the client.  When you make a request for
a new web page the cookies that qualify are sent to the server along
with your request.  This way when you want to access a cookie on the
server:

VB ASP: 

x = Request.Cookies("Name")


The values are available to the server.

As Doug mentioned this should not be confused with Session Variables,
Application Variables, or even some languages call them Server Side
Cookies.


-- Matthew

-----Original Message-----
From: Doug Melvin [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 23, 2001 2:10 PM
To: [EMAIL PROTECTED]
Subject: Re: [Re: [Re: [Dynapi-Dev] Dynamic Content Loading (IT WORKS)]]


ANY cookie, regardless of who wrote it, is client-side (stored by the
browser)
But don't get cookies confused with session variables (ASP)

----- Original Message -----
From: "Doc Oliver" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 23, 2001 7:49 AM
Subject: Re: [Re: [Re: [Dynapi-Dev] Dynamic Content Loading (IT WORKS)]]


"Richard Bennett" <[EMAIL PROTECTED]> wrote:
> I thought client-side javascript couldn't read cookies written by a
> server-side app??
> Richard.

sure it can, a cookie is a cookie is a ...


____________________________________________________________________
Get free email and a permanent address at http://www.amexmail.com/?A=1

_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev


---
Outgoing mail is certified Virus Free by AVG Free Edition
Download at: http://www.grisoft.com/html/us_index.cfm
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.231 / Virus Database: 112 - Release Date: 2/12/01


_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev

_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev

Reply via email to