Premature end of script headers


Bob L

I've been trying to incorporate some scripts
( into a website and
get an error whenever I try to execute the files after I've published them
to the server. For example, one of the asp files (default.asp) is as

<% @language="vbscript" %>
<head><title>Home Page</title></head>
<h3>Home Page</h3>
<p>You are logged on as:
If Len(Session("UID")) = 0 Then
Response.Write "<b>You are not logged on.</b>"
Response.Write "<b>" & Session("UID") & "</b>"
End If
<li><a href="secure.asp">Secure Page</a></li>
<li><a href="unsecure.asp">Unsecure Page</a></li>

When I try to execute this, I get an "Premature end of script headers" error
on the server.

Is this a problem with the server or is it a problem with the script?

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