title: How can i set a session variable in jquery?
body: <p>Can anyone help me how to set a session variable in Jquery. Actually My requirement is like this:-</p>
  
  <p>I am having a popup in html file. When i click the link, the popup opens. However, if i set the session expire , the popup should not open. So, when i click on the link, if session expires, the popup should not open but should redirect to targeted page. How can i do this?? My TL told me to google this but didn't found actually what i required. He suggested me to set session in Jquery. Is there any alternative for this?? As i am a newbie to Jquery, any code snippets are higly appreciated.please help me..</p>