How to create a session variable using Javascript?

Discussion in 'HTML / PHP / JavaScript / CSS' started by tommylu, Sep 21, 2007.

  1. Hello,

    Does anyone know how to create a session variable using Javascript? I need this session variable to pass data from one web page to another.

    Any help is greatly appreciated.

    Tommy,
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    javascript runs on the client (browser) and session variable is created on the server. It is not possible for the client to create session var.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. Hi, Bruce:


    Thanks for your reply. In this case, how can I pass data between web pages using JavaScript?


    Tommy,
     

Share This Page