473,383 Members | 1,846 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

IIS Sending Headers

If I have an ASP file that sends less than 110 (I believe
its 110) characters IIS will, at the top of the document,
add some header info about the server and page. This
happens in every web directory I have. If I take out the
<HEAD></HEAD> section of the page, this information is
not added. Any ideas?

Chandler
Jul 19 '05 #1
3 1102
Code, please?

--
Manohar Kamath
Editor, .netWire
www.dotnetwire.com
"Chandler" <an*******@discussions.microsoft.com> wrote in message
news:87****************************@phx.gbl...
If I have an ASP file that sends less than 110 (I believe
its 110) characters IIS will, at the top of the document,
add some header info about the server and page. This
happens in every web directory I have. If I take out the
<HEAD></HEAD> section of the page, this information is
not added. Any ideas?

Chandler

Jul 19 '05 #2
<%@ LANGUAGE=VBScript %>
<HTML>
<HEAD>
<TITLE>Test</TITLE>
</HEAD>
<BODY>
</BODY>
</HTML>

Will result in:
"
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.1
Date: Mon, 02 Aug 2004 01:

<HTML>
" - IE's View Source output

If I leave out the <HEAD></HEAD> section it will send
everything correctly.

I have tried this with different browsers, same effect.

Chandler
-----Original Message-----
Code, please?

--
Manohar Kamath
Editor, .netWire
www.dotnetwire.com

Jul 19 '05 #3
Interesting - the data that's there are legitimate HTTP headers. Your
browser shouldn't be rendering them. However, the Date: header seems
truncated - there's no time being displayed. Normally, the HTTP headers
should look like something like this:

HTTP/1.1 200 OK
Server: Microsoft-IIS/6.0
Content-Length: 11924
Date: Mon, 02 Aug 2004 03:44:59 GMT
Content-Type: text/html

<html>

Notice how the Date header has a time in it?

Cheers
Ken

"Chandler" <an*******@discussions.microsoft.com> wrote in message
news:87****************************@phx.gbl...
<%@ LANGUAGE=VBScript %>
<HTML>
<HEAD>
<TITLE>Test</TITLE>
</HEAD>
<BODY>
</BODY>
</HTML>

Will result in:
"
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.1
Date: Mon, 02 Aug 2004 01:

<HTML>
" - IE's View Source output

If I leave out the <HEAD></HEAD> section it will send
everything correctly.

I have tried this with different browsers, same effect.

Chandler
-----Original Message-----
Code, please?

--
Manohar Kamath
Editor, .netWire
www.dotnetwire.com

Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: praba kar | last post by:
Dear All, I have doubt regarding mail sending smtplib module. The below code is I used to send a mail. ########################################## import email.Message import email.Utils...
1
by: >>Shailesh | last post by:
hi, my script(IMAP email client) is sending mail using imap_mail() function. imap_mail($To, $Subject, $Body, $headers); $headers = "From: <$From>\n"; $headers .= "X-Sender:...
4
by: splicemix | last post by:
Hi all, I have recently set up a Drupal website. I am a beginner. My shared host server does not allow nobody@localhost to send emails, and prevents access to php.ini, so I spent some time...
6
by: Anuradha | last post by:
Dear All How can i send mails using vb.net Thanx all
1
by: robbiesmith79 | last post by:
Just so this is out there on the web, I battled the past 24 hours about this. Background info... I developed a ecommerce website in PHP 4 on a shared linux hosting plan from GoDaddy and had the...
0
by: kencana | last post by:
Hi all, I got problem in sending email with image file attached. the problem is that i can't see the image, apart from that i also try to attach a txt file and it gave me no luck. the txt file in...
8
by: Marty | last post by:
I'm having issues sending an email to an "@page.nextel.com" email address. I can send to any other email address fine, but when I try the page.nextel.com it gives me this error: ...
3
by: FFMG | last post by:
Hi, I want to send expiry headers along with my images. This is the code in my .htaccess file Code: -------------------- ...
3
by: swethak | last post by:
Hi, i placed the php in windows server 2003 manually , set the path in Environmental variables , and place the php.ini file in windows. Now php works fine in my server sytem.When i write the...
31
by: happyse27 | last post by:
Hi All, I am trying for weeks how to send email from windows pc, which from my gmail account to my hotmail account. Using net::smtp module sending email failed,Kindly assist. (for the item d it...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.