Detecting a New Session

Is there a way to determine if the current request is the first
request of the Rails session? I could create a session variable to
accomplish this, but it would be nice if you could do something like

Does that make sense?


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