[Rails] invalidating a session on multiple login

Martin DeMello
Thu, 22 Jun 2006 19:19:54 -0000

On 6/22/06, Francois Beausoleil <francois.beausoleil@gmail.com>
wrote:
> Hello Martin,
>
> 2006/6/22, Martin DeMello <martindemello@gmail.com>:
> > I want to invalidate the session in the first tab and throw up a
>
> Create a new session by resetting the session prior to doing your
> authentication.  session.reset should do it.  If you had stored
> anything in the session, that will obviously be cleared.  Copy off
> anything you might want to keep.

Doh - don''t know why I didn''t think of that! Thanks :)

martin