D
Dan
We have some session variables that need to be reset to their default values
at certain times throughout the application. Rather than repeating the code
on each page that requires it, is there a way to hold this server-side code
some place and have each page call it when necessary? I can already see
another "shared function" that will be used similarly down the road, so is
there a way to put all these shared functions into one file?
In classic ASP we used the <!-- #INCLUDE FILE="sharedfunctions.asp" -->
directive. Is there something similar in ASP.Net?
Thanks in advance,
Dan
at certain times throughout the application. Rather than repeating the code
on each page that requires it, is there a way to hold this server-side code
some place and have each page call it when necessary? I can already see
another "shared function" that will be used similarly down the road, so is
there a way to put all these shared functions into one file?
In classic ASP we used the <!-- #INCLUDE FILE="sharedfunctions.asp" -->
directive. Is there something similar in ASP.Net?
Thanks in advance,
Dan