Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


how does the page can auto refresh

 
Logged in as: Guest
arrSession:exec spGetSession 2,3,2509
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> how does the page can auto refresh
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 how does the page can auto refresh - 3/29/2005 7:31:31 PM   
  vietnamblood

 

Posts: 14
Score: 0
Joined: 3/28/2005
From:
Status: offline
can you help me
i want the page can auto refresh by command
(not tag)
 
 
Post #: 1
 
 Re: how does the page can auto refresh - 4/1/2005 3:20:17 AM   
  VBS

 

Posts: 110
Score: 0
Joined: 3/2/2005
From: Lebanon
Status: offline
Dear vietnamblood,
Refreshing the page can be done in 3 ways:

1. by the meta tag:
<meta HTTP-EQUIV="refresh" CONTENT="4;URL=PAGE.asp">
--The (4;) is the time u want the page to refresh
2. using a server-side code,
3. using client-side code

Please note that using the MetaTag is a lot better and a lot easier...
and i personally use the MetaTag

Best Regards

Firas S Assaad

(in reply to vietnamblood)
 
 
Post #: 2
 
 Re: how does the page can auto refresh - 4/1/2005 8:02:59 PM   
  vietnamblood

 

Posts: 14
Score: 0
Joined: 3/28/2005
From:
Status: offline
i know
but i want using command
EX: refresh(page)

(in reply to vietnamblood)
 
 
Post #: 3
 
 Re: how does the page can auto refresh - 4/5/2005 5:13:25 AM   
  VBS

 

Posts: 110
Score: 0
Joined: 3/2/2005
From: Lebanon
Status: offline
Dear vietnamblood,
If u want to use commands, then try these:

1. If u want to use server side then use this code

      
and the 10 is the time for the page to refresh

2. if u want to use client side use this code

      


Hope this helps

Best Regards
Firas S Assaad

(in reply to vietnamblood)
 
 
Post #: 4
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP >> how does the page can auto refresh Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts