Click here to Skip to main content
15,920,828 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi I need to manage session in every html page in my server
Posted

It is not possible to manage session using Javascript or HTML with the server Session can be manage by the Server side scripting language(asp.net,php,JSP etc.)
only you can do with JS is storing cookie on client end
and with HTML 5 you can use local storage or SQL storage on client side
 
Share this answer
 
Comments
Member 8169176 21-Aug-12 7:58am    
But in my application i need it, I am working in asp.net application in that system open a new window with html page, while user viewing html page i need to check server side session, Is there any way to do this task
Hi,

As you said that you need to open new html window. in this case probably you can get session value by QueryString. if your content of Session is not more then you can pass that value using QueryString and you can read querystring in html page.

Example of passign QueryString.[^]

Hope now its easy for you to implement

Thanks
-Amit Gajjar
 
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