title: How to restore the previous session in wordpress
body: <p>I am creating a plugin in which I want to restore the previous session so that I can have my data back when the browser is reopened.</p>
  
  <p>I also have the timer facility in that plugin so timer should also be resume from where it is left at time time of closing the browser.</p>