Changing the session id?

I’d like to change the session id on successful login as a measure
session hijacking.

How do i go about this?

View this message in context:
Sent from the RubyOnRails Users forum at

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs