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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top