META REFRESH

J

joeblast

Can someone explain to me why the META Refresh doesn't work in an ASP.NET
page? It works just fine in my old asp one!

Content value has to be in quotes if not otherwise I get a warning.

Thanks

DOTNET
--------------------
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb"
Inherits="_Default" EnableSessionState="True" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>TEST</title>
<meta http-equiv="refresh" content="10" />
</head>
<body>
</body>
</html>

ASP
----------
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>TEST</title>
<META HTTP-EQUIV="REFRESH" CONTENT=10>
</head>
<body>
<div>
</div>
</body>
</html>
 
B

Bob Barrows [MVP]

joeblast said:
Can someone explain to me why the META Refresh doesn't work in an
ASP.NET page? It works just fine in my old asp one!
There was no way for you to know it, but this is a classic asp newsgroup.
While you may be lucky enough to find a dotnet-savvy person here who can
answer your question, you can eliminate the luck factor by posting your
question to a newsgroup where the dotnet-savvy people hang out. I suggest
microsoft.public.dotnet.framework.aspnet.

I'm sorry, but i don't know the answer to your question. Maybe someone in
the other group does.

Bob Barrows
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top