CptPingu wrote:
How to use session in ruby on rails ? I try to make it work for hours, but it still doesn't work...
You're doing it basically right: if you set attributes of session, you should be able to read them back.
Your code to set the session variables looks very confused though. I'd bet that there's at least one major bug in your identification method. You should try logging the contents of the variables at various points in it and use that to work out what's going on.
- Pete