[Seaside] session cleanup

Marco Paga seaside at marco-paga.de
Mon May 24 20:51:13 CEST 2004


Hi.
I was just crawling around the list to find a way to release session specific 
ressources like a database connection. I didn't found a solution for 2.3.2. 
so here's my little hack to be placed in the application specific session 
class:

isActive
	| returnValue |
	returnValue _ super isActive.
	returnValue
		ifFalse: [self domainModel closeSession].
	^ returnValue

I wanted to write it in one line but the block result is answered.

Regards
Marco

PS: I'm sorry if I was to dumb to see the answer in the list history...



More information about the Seaside mailing list