Last post Mar 14, 2007 03:33 PM by ssmith1120
Mar 13, 2007 10:09 PM|ssmith1120|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 03:21 AM|bpag|LINK
Mar 14, 2007 02:29 PM|ssmith1120|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 02:40 PM|bpag|LINK
Mar 14, 2007 03:33 PM|ssmith1120|LINK