You need to send an ajax call to your server code, such as Spring controller or Servlets , and get the response string as JSESSIONID and then save it in javascript , only after the DOM is fully loaded.
Human Being Sep 10 '13 at 13:04 on 2013-09-10 13:04
source share