PDA

View Full Version : How to create a session variable using Javascript?


tommylu
09-21-2007, 06:31 AM
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,

bruce
09-22-2007, 12:23 AM
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 (http://www.DiscountASP.NET)

tommylu
09-22-2007, 01:15 AM
Hi, Bruce:


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


Tommy,