Cookies from ASP to ASPX

Results 1 to 2 of 2

Thread: Cookies from ASP to ASPX

  1. #1
    Join Date
    Dec 1969

    Default Cookies from ASP to ASPX

    I am converting a site from ASP to ASP.NET. We used a cookie-based session for login (wasn&#039;t my idea). I need to be able to read a cookie written by a classic ASP page from an ASPX. It isn&#039;t working.<BR><BR>Now I know that a cookie is a cookie, and I should be able to write it to the client with Perl if I were so neanderthal, and still read it from an ASPX.<BR><BR>Can anyone clue me in as to why the same syntax doesn&#039;t read the same cookie when you put it in an ASPX?

  2. #2
    Join Date
    Dec 1969

    Default RE: Cookies from ASP to ASPX

    there is no difference in reading or writing a cookie in .net Check if the cookie is actually been written and also whats the expiry time and things like that. If there is a cookie written then you should be able to read that cookie using a simple<BR>request.cookies("cookiename")<BR><BR>HTH

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts