IT Community - Software Programming, Web Development and Technical Support

Refreshing page

This is a discussion on Refreshing page within the ASP and ASP.NET Programming forums, part of the Web Development category; How can we refresh the page automatically for a specified times or a particular time interval ? How can we stop ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > ASP and ASP.NET Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 03-31-2008, 10:55 PM
Kirubhananth Kirubhananth is offline
D-Web Programmer
 
Join Date: Feb 2008
Location: My native is Madurai but now in Chennai
Posts: 61
Kirubhananth is on a distinguished road
Send a message via AIM to Kirubhananth Send a message via Skype™ to Kirubhananth
Question Refreshing page

How can we refresh the page automatically for a specified times or a particular time interval ?

How can we stop the page being refreshed?

Please send me code if possible.
__________________
--Kirubhaa. Born to win--
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-01-2008, 02:47 AM
Balasubramanian.S Balasubramanian.S is offline
D-Web Sr.Programmer
 
Join Date: Mar 2007
Posts: 181
Balasubramanian.S is on a distinguished road
Default Re: Refreshing page

Hi Kirubha,

To refresh the page after a certain period of time, we can use the meta tag refresh. Here is how to use the tag (The tag should be added in the Head
section of the page).

<meta http-equiv="refresh" content="120">

The content attribute defines the time in second after which the page should refresh. So in the example the page would refresh after every 2 minutes.
__________________
S.Balasubramanian
Nothing is impossible
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-01-2008, 02:49 AM
Balasubramanian.S Balasubramanian.S is offline
D-Web Sr.Programmer
 
Join Date: Mar 2007
Posts: 181
Balasubramanian.S is on a distinguished road
Default Re: Refreshing page

Hi Kirubha,

To redirect the page to another page after certain time we can modify Meta tag like this.

<meta http-equiv="refresh" content="2;url=http://www.Discussweb.com">
__________________
S.Balasubramanian
Nothing is impossible
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-01-2008, 03:45 AM
Kirubhananth Kirubhananth is offline
D-Web Programmer
 
Join Date: Feb 2008
Location: My native is Madurai but now in Chennai
Posts: 61
Kirubhananth is on a distinguished road
Send a message via AIM to Kirubhananth Send a message via Skype™ to Kirubhananth
Smile Re: Refreshing page

Balu,
How can we stop the page being refreshed? Send me any source code if available.
__________________
--Kirubhaa. Born to win--
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 04-03-2008, 01:14 AM
poornima poornima is offline
D-Web Sr.Programmer
 
Join Date: Dec 2007
Posts: 189
poornima is on a distinguished road
Smile Re: Refreshing page

Hi,
To avoid page refresh either u go for JavaScript or xml for manipulation of data in the page.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stop the Refreshing Kirubhananth HTML, CSS and Javascript Coding Techniques 2 03-19-2008 09:42 PM
'Page' ia an unambiguous reference between 'System.Web.UI.Page' and 'Project1.Page' poornima ASP and ASP.NET Programming 1 03-05-2008 03:12 AM
detect hour of the day and selects a link, they go to either a day page or night page itbarota HTML, CSS and Javascript Coding Techniques 1 01-11-2008 02:09 AM
page refreshing nssukumar Flash Actionscript Programming 1 07-26-2007 12:13 AM
ASP.NET FAQ - maintain page scroll position after a page postback? Archer ASP and ASP.NET Programming 1 07-24-2007 12:40 AM


All times are GMT -7. The time now is 07:21 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0