Cookie: Write in jscript; read in html or vbscript

Posted on 2004-11-29
Last Modified: 2010-04-17
I am trying to pass variables from jscript back to HTML variables.  From other threads, it appears that via cookies is a clever and simple way. I would like to get my hands on a code snippet to do this. Can someone help?
Question by:gafriedman
    LVL 11

    Expert Comment

    what do you mean by HTML variables?? you mean in asp?

    try this link for javascript

    you can access the variables in your asp by using Response.Cookies("cookiename")

    Have Fun!
    LVL 19

    Expert Comment

    LVL 9

    Accepted Solution

    >"HTML variables"
    Author, there's no such thing :-)
    LVL 19

    Expert Comment

    DrWarezz, that was cool ;-)

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Join & Write a Comment

    Suggested Solutions

    Purpose To explain how to place a textual stamp on a PDF document.  This is commonly referred to as an annotation, or possibly a watermark, but a watermark is generally different in that it is somewhat translucent.  Watermark’s may be text or graph…
    Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
    Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
    In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now