GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  ASP
Go To First  |  Previous Question  |  Next Question 
 ASP  |  Question 129 of 147    Print  
what is http header

  
Total Answers and Comments: 1 Last Update: June 21, 2006     Asked by: rcv72 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
June 21, 2006 07:20:45   #1  
vishakhaw Member Since: June 2006   Contribution: 2    

RE: what is http header
HTTP headers expose a great deal of information about your client as well as the server you are working the application you are designing as well as the environment you are in (SSL etc.).The functionality for this is held in Request.ServerVariables so you only need to access that. For example Request.ServerVariables( ALL_HTTP ) or Request.ServerVariables( HTTP_USER_AGENT ). You need to know the specific name of the header that you want. It is extremely simple to display all the HTTP headers in ASP. Here's a code snippit that will do it for you: < for each header in Request.ServerVariables response.write header & & Request.ServerVariables(header) & < br>< br> next >Just delete the spaces near the angle brackets and run it on IIS. You'll get a list of all the HTTP headers along with the actual value for the header. Make sure to try this with different browsers and on different computers with different operating systems if you can. You'll immediately see the differences.
 
Is this answer useful? Yes | No

 Related Questions

The browser makes a HTTP request; the server gives a HTTP response to the browser and the browser converts into a HTML page.  
Latest Answer : Client send the request to the server thru Request objcet. Server recevied the information and after processing the request send back to the server thru response object.server object takes the user supplier string and encode it into the proper html format. ...

The browser makes a HTTP request; the server does the processing and gives a HTML response to the browser.  
Latest Answer : To make the HTML page dynamic ASP is used which the server page scripting language. Mainly used to convert the information and display it on browser ...

POST METHOD: The POST method generates a FORM collection, which is sent as a HTTP request body. All the values typed in the form will be stored in the FORM collection. GET METHOD: The GET method sends 
Latest Answer : getmethod uses the querystring to pass the data to the server so it appends data to the url so it is not secured one whereas post method differs from it it is passed to the server through the form collection ...

It provides extra information by which it makes the site easier to manage. It can include text files using the #include statement, retrieve the size and last modification date of a file, defines how variables 

• Static HTML – Browser uses HTTP to request HTML file from the Web Server • Dynamic HTML – Browser uses HTTP to request an executable application rather than a Static HTML file  
Latest Answer : There are two types of HTML,1.Static HTML        -for creating static pages.2.Dynamic HTML    -for creating dynamic pages using scripting languages like JavaScript,VBScript. ...

A. It sends the browser the line of sample code, and the browser executes it. B. It sends the response to "http://www.matsystems.com" instead of to the Requesting browser. C. It sends a redirection 
Latest Answer : Answer is C, This will send a new response back to browser and borwser executes it as a new request ...

This collection stores any values that are provided in the URL. This can be generated by three methods: • By clicking on an anchor tag • By sending a form to the server by the GET method 
Latest Answer : This collection stores any values that are provided in the URL. This can be generated by three methods: • By clicking on an anchor tag • By sending a form to the server by the GET method • Through user-typed HTTP address ...

The ServerVariables collection holds the entire HTTP headers and also additional items of information about the server.  
Latest Answer : The Server Variables collection holds the entire HTTP headers and also additional items of information about the server. ...

Latest Answer : HTTP headers expose a great deal of information about your client as well as the server you are working, the application you are designing, as well as the environment you are in (SSL, etc.).The functionality for this is held in "Request.ServerVariables", ...
Read Answers (1) | Asked by : rcv72


 Sponsored Links

 
Related Articles

How to call C header that is not provided generally by system in C++?

Headers can be called by using extern C Syntax of extern C is: extern &quot;C&quot; &lt;function declaration&gt; for example to call C functions from C++ we can write extern &quot;C&quot; { &lt;function declaration&gt; &lt;function declaration&gt; ...
 

Importance of Header Files

What is the importance of header files? The main role of header file is it is used to share information among various files. In brief, if we have several functions say 4 functions named as f1, f2, f3, f4 placed in file say sample.c and if all the functions want to get accessed by each other then all
 

The Interview Snafu

How to turn someone else&rsquo;s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won&rsquo;t get over the line without a polished, prof
 

Importance of Proper English during Job Interview

Importance of Proper English during Job Interview Your job interview is crucially important and it will determine whether or not you will get the job Depending on the type of job you re going for it is very important for you to use proper English In most cases jobs which offer higher salaries will h
 

HR Interview - HR Interview Mistakes You Will Want To Avoid

HR Interview Mistakes You Will Want To Avoid The job interview can be a stressful process This is especially true for those who are going after a competitive position Your nonverbal communication combined with the answers you give during the interview will determine if you are hired mosgoogle While
 

HR Interview - Behavioral HR Interviews

Behavioral HR Interviews As the name implies a behavioral interview is an interview that is held by a human resources department to determine if an applicant has the behaviors that are appropriate for a job The company must know how an applicant will behave in a certain situations mosgoogle The logi
 

HR Interview - How To Prepare For Your HR Interview

How To Prepare For Your HR Interview Before you begin thinking about how you are going to dress for the interview it is important to do your research first You should learn everything you can about the company you wish to work for When you have detailed information about your employer you will conve
 

HR Interview - Telephone Interview Etiquette

Telephone Interview Etiquette When you conduct a telephone interview for a job it is important to show the proper etiquette Not only is it important it is critical is you wish to be hired by the company There are a number of things you will want to do and other things should never be done mosgoogle
 

HR Interview - How To Succeed At HR Interviews

How To Succeed At HR Interviews There are a number of things you will need to do in order to make sure you pass the interview process Your appearance is something that you will want to pay close attention to Even if you feel that your appearance shouldn t be a factor in whether or not you re highere
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape