On Thursday, February 6, 2014 5:28:17 AM UTC+1, Jayadevan M wrote:
>
> Thanks for the reply.  Let me provide more info. May be I missed something 
> very basic. I am replying inline to your/Ricardo's comments.
>
>
> "BTW..........you're 10 steps ahead.....but you're calling it wrongly :-P"
> I guess I am calling it wrongly. Did not get the 10 steps ahead part
>
> "the args of the script are.....
> However, to launch a script using the app environment, web2py's syntax is"
>
> I think this difference is what sends me down the wrong path
>
> "If I'm not wrong your applications/myapp/sessions directory only have 2 
> entries,
> and they are the "." and "..", so your session dir is empty."
>
> But I did have entries going till beginning of January. I used the -o -x 
> 3600 and they disappeared. So my question about the basic behaviour - 
> I am using db auth. So once a user logs in, there is an entry in the 
> auth_event table. If the user quits without logging out, obviously there is 
> no entry for 'log out'. In such a scenario, will the script delete session 
> files?
>
>>
>>
a session lasts for whatever time it needs to be alive. if a user logs out 
but 1 hour doesn't pass, the session is not marked for deletion (assuming 
-x 3600). When the session is not "resumed" for at least an hour, then the 
session gets marked for deletion. 

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to