Reference current session...common accessor ??
Reference current session...common accessor ??
- Subject: Reference current session...common accessor ??
- From: Nathan Walker <email@hidden>
- Date: Fri, 1 Jul 2005 11:03:45 -0400
I have these declarations all over:
Session sess = (Session)session();
In order to set things in the current session. I know I could create a superclass with that in it and just have all my components subclass that but seems unneccessary. Am I missing something here. I use this in the Direct Action class a lot to. Do I really have to declare that at the top of all my class files that I intend to reference my session object? It seems so common to set stuff on the current session. There must be someway else..
Thanks, nathan |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden