10 messages in com.googlegroups.pylons-discussRe: deploying, sessions, and the cache| From | Sent On | Attachments |
|---|---|---|
| Brian Shih | 29 Jul 2006 20:42 | |
| Ben Bangert | 29 Jul 2006 23:27 | |
| Brian Shih | 30 Jul 2006 01:40 | |
| Ben Bangert | 30 Jul 2006 11:19 | |
| Brian Shih | 30 Jul 2006 23:03 | |
| Brian Shih | 30 Jul 2006 23:04 | |
| Ben Bangert | 30 Jul 2006 23:27 | |
| Brian Shih | 31 Jul 2006 12:44 | |
| Ben Bangert | 31 Jul 2006 12:55 | |
| Brian Shih | 31 Jul 2006 16:22 |
| Subject: | Re: deploying, sessions, and the cache![]() |
|---|---|
| From: | Ben Bangert (be...@groovie.org) |
| Date: | 07/30/2006 11:19:08 AM |
| List: | com.googlegroups.pylons-discuss |
On Jul 30, 2006, at 1:40 AM, Brian Shih wrote:
We're still on 0.8 - we plan on updating, but for the time being still need to have our sessions stick between deploys. Just keeping the app/cache/sessions folder symlinked to a static location doesn't seem to stop the app from losing the session on restart.
Any idea how Myghty does it in 0.8?
Yep, it's taking the config values from its default Config object and the ones coming in from your [app:main] section. The default option in 0.8.2 is to use in-memory sessions. To switch to disk-based sessions, add the following line to your [app:main] section: session_data_dir = %(here)s/cache/sessions
That should do the trick, and you'll see a sessions dir under your cache directory with the session files.
HTH, Ben
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to pylo...@googlegroups.com
To unsubscribe from this group, send email to
pylo...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/pylons-discuss
-~----------~----~----~----~------~----~------~--~---




