Thanks for pointing it out. I'm sorry, sometimes i ask some stupid
questions. since my english is weak . Forgive me
My answer is yes, the session prevails though i kill the server.
How can i overcome this by clearing the session information each
time the rails server is killed.
I have tried it before and got the same as you said.
You can
invalidate it by changing your session's secret (make sure you deal
with the exception that gets raised in those cases if you don't want
to confuse your users). Pretty much a manual process which ever store
you use.
Anyway the above suggested solution is only possible if Ctrl-c
interrupt is trapped
and then routed to the proceedure