title: Handle session expire in MVC 2 with ajax
body: <p>I want to check  the  session expired or not. 
  SO what i decided is  Create an action called IsServerExpired and have it return a json object containing a boolean value, and the redirect url.</p>
  
  <p>SO the java script function  will do an ajax request to this action with specified time interval ..
  I have some basic questions ..</p>
  
  <p>1.If i send an ajax request ,i think that will refresh the session time . So in effect the session will not expire if i am using this method.  am i right ?</p>
  
  <p>If it refreshes how can i  check session expire using polling</p>