in reply to Stay Logged in

Basically, you are introducing state into a stateless protocol (HTTP). There are really only two ways to do this, keeping state in the client, or keeping state in the server.: