You could create your own class that inherits from the Page class and set
all of your aspx pages to Inherit from your custom Page class instead of
Page directly. From there you could create functions that any of your pages
can access. Another option is to create a Static/Shared method in a class
somewhere and just call that. Keep in mind if you do that you'll have to
pass the context of whatever you're working with.
"RA" <ro****@hotmail.com> wrote in message
news:Ou**************@tk2msftngp13.phx.gbl...
Hi
Is it possible to have a global function that I can access from all the
aspx web forms? This function basically will reset the Cache object to delete
all the stored fields within it.
Thanks,
Ronen