You don't. You have to use a server side web language like PHP, Java, etc.
We use HTTP sessions in Java servlets run on a Tomcat container on a Linux Ubuntu server hosted by Amazon Web Services.
Then interface the session with Construct either by AJAX calls or direct JS variable injection.