On Jul 30, 2006, at 11:03 PM, Brian Shih wrote:

> This doesn't seem to work. We set session_data_dir =
> /var/local/app/session, deployed a new version, killed existing  
> paster,
> brought up the new one, restarted lighttpd, and it logged us out.
>
> Does the rest of the cache folder need to be static as well? (i.e. the
> lock and obj subfolders)

It shouldn't need to be, no. Are you sure the paster process has  
write privs to the session directory? Alternatively, are you closing  
the browser between requests? By default, Myghty sessions expire at  
the end of a browsing session, to change the cookie time-out to  
persist beyond a browser session:
In your config/environment.py, add the following under the myghty =  
{} line:

from datetime import timedelta
myghty['session_cookie_expires'] = timedelta(days = 365 * 2) # 2 years

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

Reply via email to