D
David Young
I normally work on WinForms projects, but have been recently thrust into
this arena and had a questions concering access to objects stored in
session.
We've apparently got an object (custom class) that's stored in session for
each user of our app. This object provides information related to the use
and their environment, as well as default data used in the system. One of
these items is a reference to the stylesheet used for that user.
Rather than have each page in the site retrieve the object and process the
stylesheet reference, I was thinking about having all pages inherit from a
base page class that we write, that would automatically pull the object from
session, get the stylesheet reference and embed the <link> tag in the header
of the page.
Is that do able? Is there something else that I should be looking at doing?
Any suggestions?
Thanks, Dave
this arena and had a questions concering access to objects stored in
session.
We've apparently got an object (custom class) that's stored in session for
each user of our app. This object provides information related to the use
and their environment, as well as default data used in the system. One of
these items is a reference to the stylesheet used for that user.
Rather than have each page in the site retrieve the object and process the
stylesheet reference, I was thinking about having all pages inherit from a
base page class that we write, that would automatically pull the object from
session, get the stylesheet reference and embed the <link> tag in the header
of the page.
Is that do able? Is there something else that I should be looking at doing?
Any suggestions?
Thanks, Dave