Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Mar 14, 2007 02:33 PM by ssmith1120
Mar 13, 2007 09:09 PM|LINK
Hi, I am using a masterpage that runs an init routine that loads sql server session variables. I am wanting to access the session variables in the content pages. What I am seeing is that the master page is being processed before the content page which
so there may not be any way to get to these variables. Is there anyway or will I need to run the init routine on all of my content pages? Since the init needs to run for every page load I would like to put it in the master page so the developers will not
need to remember to alway run the init routine on each one of the content pages.
Thanks for your help.
Mar 14, 2007 02:21 AM|LINK
Mar 14, 2007 01:29 PM|LINK
In the master page in the page_load section I am doing this:
Next in the content page I am doing this:
Here is what I am getting when the page loads:
here is session:
I need to get the session that I have set in the master page in the content page and just can't figure out the way to do it.
Mar 14, 2007 01:40 PM|LINK
Mar 14, 2007 02:33 PM|LINK