You should write a session API on server with some key-value cache database 
(such as redis). Then using cookie to transform session state between client 
and server.
    
    
             
             Cookie: sid=0123456abcdefg               Session API
    client ---------------------------------- server ------------- redis
             Set-Cookie: sid=0123456abcdefg
    
    

Reply via email to