This is probably a beginner's question, but very important for me:
Is the effect of Ajax request on the session timeout the same as a post back?
My problem is that I have a significant client side interaction + Ajax that may take longer than the session time out before the next postback occurs. If the timeout occurs the user will lose the changes that are sent back to server via ajax request.
If I need a postback to reset the session timer what would be the best approach; I thought of putting a hidden control whose only function is to generate periodical postbacks. What will be the code for that (not the code for the timer, but the code to have only that control post back)?
Thanks much for the help,
-- Arie
Is the effect of Ajax request on the session timeout the same as a post back?
My problem is that I have a significant client side interaction + Ajax that may take longer than the session time out before the next postback occurs. If the timeout occurs the user will lose the changes that are sent back to server via ajax request.
If I need a postback to reset the session timer what would be the best approach; I thought of putting a hidden control whose only function is to generate periodical postbacks. What will be the code for that (not the code for the timer, but the code to have only that control post back)?
Thanks much for the help,
-- Arie