How to reset session if rails server is killed abruptly using Ctrl-c

Hi,

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 Any suggestions?

Regards, Vimal Das

Hi,

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 Any suggestions?

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.

Fred