Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reading Cookie

Status
Not open for further replies.

ravula2000

IS-IT--Management
Mar 8, 2002
205
US
A Cookie is written by using Javascript in an ASP Page.
Say the cookie is "ProductType"
When Iam trying to read it in aspx (asp.net page) Iam not getting nothing..

If Not Request.Cookies("ProductType") Is Nothing Then
pId = Request.Cookies("ProductType").Value.ToString
end if

But when I create in the same aspx page I could able to read it in aspx as well as asp page..

Can some body explain me what is happening..

Thanks
Srini
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top