[..]
>
> If the user is already logged in, why not have the session controller redirect
> them to an appropriate page?

Since I'm building rails app just for learning proporses this could
work, but what happend if this were a real app and another person
tries to log-in using the same user-pass, it would allow 2 or more
people logged with the same user.

> Also, If you want the user's session to end when the browser is closed, just 
> use
> a session cookie.

I'll check what a session cookie is and write if that worked.

> SH

Thanks for the reply!!!

Hiro
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to