I've added an attribute to the session called #user... req session attributeAt: #user ifAbsentPut: user
This is used to *determine if I'm logged in*. On logout, I would like to *remove* this attribute, but I can't figure out how to do it. Suggestion? Sven Van Caekenberghe-2 wrote > If you are talking about ZnServerSessions, the ones returned from > ZnRequest>>#session, then the answer is that they are eligible for > expiration and cleanup after 1 hour (see ZnServerSession>>#isValid). > Cleanup happens inZnSingleThreadedServer>>#periodTasks. Right now, the > expiration time is a fixed constant. > >> On 19 Jun 2017, at 08:08, Stephane Ducasse < > stepharo.self@ > > wrote: >> >> Teapot is a layer on zinc so you may check the Zinc chapters (I do not >> know if this is there). >> >> >> On Mon, Jun 19, 2017 at 1:42 AM, horrido < > horrido.hobbies@ > > wrote: >>> Does Teapot's (ZnRequest's?) session ever expire? What is the expiry >>> period? >>> >>> I can't find where it's specified or configured. >>> >>> >>> >>> >>> -- >>> View this message in context: >>> http://forum.world.st/Teapot-session-tp4951845.html >>> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. >>> >> -- View this message in context: http://forum.world.st/Teapot-session-tp4951845p4951905.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.