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

Discussion in 'ASP .Net' started by =?Utf-8?B?QXRpbGEgQmFybGFz?=, Feb 27, 2004.

  1. 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
     
    =?Utf-8?B?QXRpbGEgQmFybGFz?=, Feb 27, 2004
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Eric Lawrence [MSFT]

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

    Eric Lawrence [MSFT], Feb 26, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    377
    Eric Lawrence [MSFT]
    Feb 26, 2004
  2. _Who
    Replies:
    7
    Views:
    2,693
  3. Bei Zhang
    Replies:
    0
    Views:
    131
    Bei Zhang
    Nov 5, 2003
  4. bb
    Replies:
    0
    Views:
    566
  5. PerlFAQ Server
    Replies:
    0
    Views:
    143
    PerlFAQ Server
    Apr 26, 2011
Loading...

Share This Page