By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,956 Members | 1,683 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,956 IT Pros & Developers. It's quick & easy.

how to access cookies created in asp page

P: n/a
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
Nov 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
You should be able to access them using the Page.Request.Cookies property.

"kennethrayg" <an*******@discussions.microsoft.com> wrote in message
news:9C**********************************@microsof t.com...
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.

Nov 18 '05 #2

P: n/a
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" <an*******@discussions.microsoft.com> wrote in message
news:9C**********************************@microsof t.com...
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.

Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.