[Seaside] session reference

Avi Bryant seaside@lists.squeakfoundation.org
Fri, 6 Dec 2002 17:36:07 -0800 (PST)


On Fri, 6 Dec 2002, Derek Brans wrote:

>   At at arbitrary point in a seaside application's execution (not
> necessarily within the context of a component), is it possible to get a
> reference to the session it is running in?
>
> I need to gain access to the current database connection, user login
> information.

"WASession currentSession" should do it.