CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Guest

    Read an HTTP request header ?

    hello all.....

    how can my app read an HTTP header request (from browser such as IE)?

    how can I send a response header ?
    is HTTP header is just a string ?

    BIG Thanx

    PS : I'm using VB, if you give me source code to do it, it would very nice
    .....




  2. #2
    Join Date
    Jun 1999
    Posts
    319

    Re: Read an HTTP request header ?

    I have the same problem. DO you have some information regading the HTTP headers? Can you please help me?

    Thanks in advanced,
    Faby


  3. #3
    Guest

    Re: Read an HTTP request header ?

    hi if now you know the aswer please let me know
    thank's
    [email protected]


  4. #4
    Join Date
    Jul 1999
    Posts
    145

    Re: Read an HTTP request header ?

    Not sure if this is what you need but have you looked at the Request object in ASP and its ServerVariables collection?

    the code would be something like this on an asp page:

    <% sheader=Request.ServerVariables("ALL_HTTP")
    Response.Write sheader %>

    There are loads of other server variables listed in msdn. Look under request collections...

    Hope this helped...


  5. #5
    Join Date
    Dec 1999
    Location
    Florida
    Posts
    2

    Re: Read an HTTP request header ?

    First, the question is a little vague. What are you using for the data connection?
    Is it a socket level connection? Is it a internet connection object? Is it a browser Object?


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured