how to access cookies created in asp page

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I need info on how to access cookies which I created in asp

Like, If i have a cookie called "firstname" in asp page. then If redirect it to an asp.net page how do i access the cookie "firstname" in asp.net to show the value
 
You should be able to access them using the Page.Request.Cookies property.

kennethrayg said:
Hi,

I need info on how to access cookies which I created in asp.

Like, If i have a cookie called "firstname" in asp page. then If redirect
it to an asp.net page how do i access the cookie "firstname" in asp.net to
show the value.
 
If your domain and path properties of your cookie is same for asp and
asp.net then you can simply access using request.cookies.



--
Saravana
Microsoft MVP - ASP.NET
www.extremeexperts.com



kennethrayg said:
Hi,

I need info on how to access cookies which I created in asp.

Like, If i have a cookie called "firstname" in asp page. then If redirect
it to an asp.net page how do i access the cookie "firstname" in asp.net to
show the value.
 
Back
Top