���Actually, you don't need to pass anything.� You should be able to say
HttpContext.Current.Request.ServerVariables("HTTP_HOST")
from within the component.
From: "scaevola637" [EMAIL PROTECTED]
I need it in a db component class which is called by a page class.
Should I pass a reference to the page or just the couple three
things I need from System.Web.UI.Page instance?
Thanks in advance
--- In [email protected], "Peter Brunone"
wrote:
>
> ���You still have access to the Request.ServerVariables collection
in ASP.NET (through the Page object, which is transparent if you're
calling this from inside the page).
>
> ���Fire away.
>
> Peter
>
> From: "scaevola637" [EMAIL PROTECTED]
>
> How do you get the server ip address.
> in classic asp it is
> Server.requestvariables("HTTP_HOST")
>
>
>
> [Non-text portions of this message have been removed]
Yahoo! Groups Links
[Non-text portions of this message have been removed]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/