I have an asp.net web application in c# script.
I want this application page to refreh after every 30 seconds or 60 minutes of time.
I have written my codes in its page_load event.
http://localhost:1096/DisplayPop3Email.aspx?emailId=97
this is my url to refresh every 30 or 60 seconds.
also i want to change or increment the value of email with that
ie;
http://localhost:1096/DisplayPop3Email.aspx?emailId=98
http://localhost:1096/DisplayPop3Email.aspx?emailId=99
like that.
how can i do this.
my real task is to make this automatic.
how can i do this???
does anyone have an idea, please share it with me…..
Thanks
Actually, I would use a META tag for this.
this is the logic I’d have in the page load
Notice that I’m doing the following things:
Using a META tag rather than a JS timer. This means that this will work regardless of browser/device.
I’m building my META tag in my code. This means that I can impact it every time (say I want to change every 30 seconds instead of 60 based on the counter)