I just checked and I'm actually already using cookies, forgot to check
before running the session-related rakes.
2008/9/27 Adam Wiggins <[EMAIL PROTECTED]>:
>
> I highly recommend switching to cookie store sessions, i.e. put
> something like this in your environment.rb:
>
> config.action_controller.session = {
> :session_key => '_myapp_session',
> :secret =>
> '2cdb95d5605cdd6fadebe717b26f08a12587aaf1635794be192b0dfaedf36c20ef0512e10f577e068fa679db5620b7cd0d45b1f671095f27a6f3debab2ac5d58'
> }
>
> Then you won't need to worry about managing your database sessions at
> all. (Change the secret to some other long hex key prior to inserting
> into your app.)
>
> Adam
>
> >
>
--
Oliver Azevedo Barnes
[EMAIL PROTECTED]
+55 11 9768 0193
http://www.linkedin.com/in/oliverbarnes
http://workingwithrails.com/person/4704-oliver-barnes
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Heroku" 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/heroku?hl=en
-~----------~----~----~----~------~----~------~--~---