On Apr 6, 8:33 am, vimal [email protected] wrote:
I have some user informations stored in the session.
If i use Ctrl-c to kill the rails server and restart the server, the
informations remains in the session
I want the session informations gone, once i restart the server
If you are using the cookie store the user session is stored on the
user’s computer, so the only thing you can do is change the session
secret. With the other stores it depends on the stores, eg if you use
the database store then delete the rows in the sessions table.