A session starts the first time a page is requested from web2py where 
"session.forget()" is not in the controller.

The session key is stored on the user's browser in a session cookie.  
Cookies can have any preset expiration date (although IE6 is stupid 
about this and defaults most cookies to be session cookies) or the 
cookie can be a "session" cookie (this is not web2py specific).  Session 
cookies expire whenever the user closes the browser or the user visits a 
page in web2py that has "session.clear()" in it.

Does that clear things up?

pedro wrote:
> My doubts are more like:
>
> When exactly does a session start and ends?
> Does closing the browser ends current session?
>
> Thank you
>
>
> On 10 Okt, 05:53, "Steve Shepherd" <[EMAIL PROTECTED]> wrote:
>   
>> I will have a go at this.
>>
>> 1. The Google account does not reply on GAE. You could be in our out of GAE
>> and still utilise the Python libraries that exist.
>> Your solution of a local user account is also good as you may want to add
>> additional information to your user.
>>
>> 2. The session information is stored on the server in a directory called
>> sessions under the application dir. The cookie is stored on the users
>> computer which references that session information. (unless you are in GAE
>> where there is a setting that puts the session into a database table.
>>
>> Steve
>>     
> >
>   

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

begin:vcard
fn:Timothy Farrell
n:Farrell;Timothy
org:Statewide General Insurance Agency;IT
adr:;;4501 East 31st Street;Tulsa;OK;74135;US
email;internet:[EMAIL PROTECTED]
title:Computer Guy
tel;work:(918)492-1446
url:www.swgen.com
version:2.1
end:vcard

Reply via email to