ASP, JavaScript & Cookies

Results 1 to 2 of 2

Thread: ASP, JavaScript & Cookies

  1. #1
    Join Date
    Dec 1969

    Default ASP, JavaScript & Cookies

    I have a site stores user info via a cookie. I've added a page that uses JavaScripting and I want that script to recognize my asp based cookie without making it an asp page. In other words, I want document.cookies to equal my request.cookies. Any help? And once again, am I making sense?

  2. #2
    Join Date
    Dec 1969

    Default I've never tried it...

    What happened when you tried?<BR><BR>If you can&#039;t get them to mix, then the easy suggestion is to use *only* document.cookies and pass the values-from-cookies from the browser-side JS code to the server-side ASP via hidden form fields and then pass the value-to-set-in-cookies directly as JS coding from the ASP pages.<BR><BR>

Posting Permissions

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