Click to See Complete Forum and Search --> : Accessing Cookies


bharadwajrv
April 14th, 2003, 07:47 AM
Hi,
i have one doubt about internal working of Cookies..

1. Cookies are stored on the Local system
2. ASP scripts are executed on the Server.

Using ASP scripts we will access the Cookies.


Ex. Response.Cookies("CookieName") = "New Value"


since the ASP code will executed on server and Cookies are stored in Client PC, How will the ASP page will get the Cookie Value

thanks in adv.
Venu

V. Lorenzo
April 25th, 2003, 12:31 PM
When the page is sent to the client, cookies are sent also. In fact, cookies are just chains of caracters.

When the page is posted to the server, once again the cookies are sent, but this time they are sent to the server.

That's all.

VLorz