Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > RE: read cookies come from asp page in asp.net page

Reply
Thread Tools

RE: read cookies come from asp page in asp.net page

 
 
=?Utf-8?B?QXRpbGEgQmFybGFz?=
Guest
Posts: n/a
 
      02-27-2004
One thing I'd suggest is to check to see if you have the cookie in the first place. Some basic logic like this

HttpCookie cookie = Request.Cookies["firstname"]
if (cookie != null
//do something

I think the issue might be with the way the cookie is being set. You can also iterate thru the cookies collection and see if it's there

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Give Request.Cookies and Response.Cookies is there any reason to use another method to use cookies? _Who ASP .Net 7 09-18-2008 07:49 PM
Creating cookies in Global.asa Session_OnStart but cannot read cookies on subsequent pages. bb ASP General 0 09-15-2004 09:56 PM
how to go from VB in a page to ASP in another page and come back Andre ASP General 4 06-30-2004 01:10 PM
Re: read cookies come from asp page in asp.net page Eric Lawrence [MSFT] ASP .Net 0 02-26-2004 09:36 PM
Come One, Come All Jess Guim Digital Photography 0 12-02-2003 04:43 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57