×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

server varibales

server varibales

server varibales

(OP)
ok Im using visual studio.net
<%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="True" Inherits="test.WebForm1"

im trying to get the server variable to display
str = Request.ServerVariables("HTTP_ID")

question how is this formatted/coded in the aspx page or is this done on the aspx.cs? If so how do you do it.

thanks in advance

RE: server varibales

I don't think I follow what you are trying to accomplish. Can you tell us that?

Do you just want to show the value of str? Is so , just do Response.Write(str) in your code behind.

RE: server varibales

Use Response.Write(), inline server tag, Trace.WriteLine() if your debugging, just to name a few.

Better yet, you can post this ASP.NET specific question to the ASP.NET forum. :)

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close