Click here to Skip to main content
15,892,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

In my project i have some ".aspx" and some ".html" files. I created a session variable in .aspx file. I need to check the existance of the session variable in html file and i need to do some code according to that condition.is it possible?How to check that session variable in html file?
Posted
Updated 5-Apr-11 18:18pm
v2

One way is to store your Session value to a HiddenField and you can access the HiddenField value in your html page.
 
Share this answer
 
Using hidden field you can perform the task.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900