Deepthi Aravind

Deepthi Aravind

  • NA
  • 59
  • 104.9k

Page Auto refresh problem

Dec 3 2010 7:05 AM

Hi,
In my project i have two buttons.push and pull.After i clicked on push button page wants to be refreshed repeatedly for each 10 second.
for this i added a code into my page load
Response.AddHeader(
"Refresh", "10");
After every 10 seconds page get refreshed.
But After completing  my process i want to stop refreshing.
For that i am using this line
Response.ClearHeaders();
Then i want 2 continue the refresh process when i click the pull button. 
i again added this line 
Response.AddHeader("Refresh", "10");
But its not working.....
please reply..its very urgent
 
 
Thanks in advance
Deepthi...

Answers (1)