N
NWx
Hi,
I' trying to implement a callback method when a cache object expires
I want to do this to automatically logout user after a timeout (for demo
purposes)
My thought is, when user logon, create a cache object which expires after,
let's say, 15 minutes, and in that moment, to direct user to a page telling
the time to run demo app was expired.
I found an example on how to do this, but it involves working on the same
page, because the callback function is declared as private void in the page
who register the cache object.
Can I do this, using a shared function instead a private one?
What I want it to execute the callback method no matter what page user is
in, when timeout expires.
Regards
I' trying to implement a callback method when a cache object expires
I want to do this to automatically logout user after a timeout (for demo
purposes)
My thought is, when user logon, create a cache object which expires after,
let's say, 15 minutes, and in that moment, to direct user to a page telling
the time to run demo app was expired.
I found an example on how to do this, but it involves working on the same
page, because the callback function is declared as private void in the page
who register the cache object.
Can I do this, using a shared function instead a private one?
What I want it to execute the callback method no matter what page user is
in, when timeout expires.
Regards