?
Solved

refresh page onces after 10 seconds

Posted on 2008-11-06
3
Medium Priority
?
235 Views
Last Modified: 2012-05-05
Hello,
How can I have a page refresh only onces after 10 seconds

<%
    Response.AddHeader "Refresh", "10;URL=http://www.mysite.com/"
%>

thanks for the help
0
Comment
Question by:thatelvis
  • 2
3 Comments
 
LVL 82

Accepted Solution

by:
hielo earned 2000 total points
ID: 22896924
try:
<html>
<head>
<%
If Session("refreshed") <> 1 Then
  Session("refreshed") = 1
  Response.Write("<meta http-equiv=""refresh"" content=""10""/>")
End If
%>
</head>...

Open in new window

0
 
LVL 1

Author Closing Comment

by:thatelvis
ID: 31513981
Good Man thank you very much!
0
 
LVL 82

Expert Comment

by:hielo
ID: 22897178
you are welcome
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question