Results 1 to 3 of 3

Thread: Read Cookie and Pass value in URL

  1. #1
    Join Date
    Dec 2004

    Read Cookie and Pass value in URL

    I have a page where I need to read a cookie and pass it's value in my href.
    The cookie name is 'psid' and I can see it's value from the browser when l am on the page.
    What is the best way to do this?

    Here is the sample href:

    <li><a href=""
    title="My Custom reports)."
    target="_blank">Reports <span style="color:#339933;">. *Custom*</span> </li>

  2. #2
    Join Date
    Mar 2007
    Are you saying that in the event that the cookie exists, its value
    should replace the default value of the 'p' parameter in the link?

  3. #3
    Join Date
    Dec 2004
    No. I am just looking for the proper syntax to read a cookie from the HTML page.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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

Recent Articles