[Seaside] How to configure session timeouts (age)

Petr Fischer petr.fischer at me.com
Sat Nov 26 20:22:00 UTC 2016


Hello, when starting my image with Seaside app, I have this code in startup method:

-----
WAMySeasideApp>>startUp: resuming 
	WAMySeasideApp waApplication
		preferenceAt: #maximumRelativeAge
		put: 18000. "5 hours"
	WAEFTTasksApp waApplication
		preferenceAt: #maximumAbsoluteAge
		put: 86400. "24 hours"
	ZnZincServerAdaptor startOn: 8080.

WAMySeasideApp>>waApplication
	^ WAAdmin defaultDispatcher handlerAt: 'my-seaside-app'
-----

This "maximum age" session parameters are correctly showing in seaside config web app, but every seaside session is still 30 minutes.

What is proper way to configure session timeouts (age), dynamically, via code?

Thanks, pf


More information about the seaside mailing list