Hi,
This is for RadControls for ASP.NET Q2 2008.
Here is the situation:
A user logs in to the system and uploads a file for some processing. The session timeout is of 20 min and we cannot guarantee that the user will have a fast internet connection. If the file is big (like 40 MB), it will take more time to upload than the session timeout. This will result in the user being kicked out when the upload completes and the button event handler tries to execute.
So, to remedy this, I have added a RadAjaxPanel and a RadAjaxTimer inside of it in order to send dummy postbacks (pings) to keep the session alive. I have added javascript code to start the timer when the user clicks on the upload button. The tick event handler is called once, then the upload begins and the progress bar starts. During the upload, my timer doesn't tick anymore (or maybe it ticks but no event handler is executed). So basically I am not able to make a call to the web site while the upload is in progress.
I need to know if there is a way to make regular asynchronous postbacks to my page in order to keep the session alive and avoid timeouts for long uploads.
Thank you.
This is for RadControls for ASP.NET Q2 2008.
Here is the situation:
A user logs in to the system and uploads a file for some processing. The session timeout is of 20 min and we cannot guarantee that the user will have a fast internet connection. If the file is big (like 40 MB), it will take more time to upload than the session timeout. This will result in the user being kicked out when the upload completes and the button event handler tries to execute.
So, to remedy this, I have added a RadAjaxPanel and a RadAjaxTimer inside of it in order to send dummy postbacks (pings) to keep the session alive. I have added javascript code to start the timer when the user clicks on the upload button. The tick event handler is called once, then the upload begins and the progress bar starts. During the upload, my timer doesn't tick anymore (or maybe it ticks but no event handler is executed). So basically I am not able to make a call to the web site while the upload is in progress.
I need to know if there is a way to make regular asynchronous postbacks to my page in order to keep the session alive and avoid timeouts for long uploads.
Thank you.