in an asp.net application I have a Jquery function.
I need to check if the session has timeout something like this
function Myfunction() {
if(FuctionHasTimedOut)
{
return 1;
}
else
{
return 2;
}
}
How to do that? thanks a lot for any help
I would use a
PageMethodfor this. Here’s some code I found here:And this is my Javascript: