Don't store things on the filesystem - because your app is spread
across the dyno grid, there's no guarantee that something written to
the tmp directory will be there on the next request.

The place for permanent data storage is the database.  If you wish to
do a curl-style cookiejar to keep a session on a remote site, create a
table in the database (perhaps "remote_cookies" or "remote_sessions"?)
to store this info.

Adam

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to