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 [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss -~----------~----~----~----~------~----~------~--~---
