Hi,
in vb6 we could use the GetObjectContext("Request") of the
ASPTypeLibrary.Request
in order to get the ServerVariables("XXX") from the asp to the dll .
can we do that in aspx and vb dot net dll ?
the question is if there is a context switch between aspx to the dot net dll
?
10x 6 2534
Hi Tiraman,
From your description, you'd like to referece the current processing Web
Request's Context in asp.net application so as to retrieve the
ServerVariables from the Request object, yes?
I think the HttpContext.Current member in ASP.NET is the one you need, it
provide the reference to the current ASP.NET request's Context and it has
many members such as Request, Response. Session, Server...
You can view the following weblink for detailed reference:
#HttpContext.Current Property http://msdn.microsoft.com/library/en...WebHttpContext
ClassCurrentTopic.asp?frame=true
So we can use the
HttpContext.Current.Request.ServerVariables to get ServerVariables
Also, the ASP.NET has its own Authentication and Authorization mechinasm
different from
classic ASP , here are some further references on ASP.NET's Authentication
and Authorization:
#ASP.NET Authentication http://msdn.microsoft.com/library/en...ETAuthenticati
on.asp?frame=true
#ASP.NET Authorization http://msdn.microsoft.com/library/en...etauthorizatio
n.asp?frame=true
Hope also helps.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Get Preview at ASP.NET whidbey http://msdn.microsoft.com/asp.net/whidbey/default.aspx
Hi Tiraman,
From your description, you'd like to referece the current processing Web
Request's Context in asp.net application so as to retrieve the
ServerVariables from the Request object, yes?
I think the HttpContext.Current member in ASP.NET is the one you need, it
provide the reference to the current ASP.NET request's Context and it has
many members such as Request, Response. Session, Server...
You can view the following weblink for detailed reference:
#HttpContext.Current Property http://msdn.microsoft.com/library/en...WebHttpContext
ClassCurrentTopic.asp?frame=true
So we can use the
HttpContext.Current.Request.ServerVariables to get ServerVariables
Also, the ASP.NET has its own Authentication and Authorization mechinasm
different from
classic ASP , here are some further references on ASP.NET's Authentication
and Authorization:
#ASP.NET Authentication http://msdn.microsoft.com/library/en...ETAuthenticati
on.asp?frame=true
#ASP.NET Authorization http://msdn.microsoft.com/library/en...etauthorizatio
n.asp?frame=true
Hope also helps.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Get Preview at ASP.NET whidbey http://msdn.microsoft.com/asp.net/whidbey/default.aspx
Hi Steven ,
10x for the information
I will go over it and if I will have more questions I will ask .
bye and 10x again :-)
Tiraman
"Steven Cheng[MSFT]" <v-******@online.microsoft.com> wrote in message
news:ek**************@cpmsftngxa06.phx.gbl... Hi Tiraman,
From your description, you'd like to referece the current processing Web Request's Context in asp.net application so as to retrieve the ServerVariables from the Request object, yes?
I think the HttpContext.Current member in ASP.NET is the one you need, it provide the reference to the current ASP.NET request's Context and it
has many members such as Request, Response. Session, Server... You can view the following weblink for detailed reference: #HttpContext.Current Property http://msdn.microsoft.com/library/en...WebHttpContext ClassCurrentTopic.asp?frame=true
So we can use the HttpContext.Current.Request.ServerVariables to get ServerVariables
Also, the ASP.NET has its own Authentication and Authorization mechinasm different from classic ASP , here are some further references on ASP.NET's Authentication and Authorization: #ASP.NET Authentication http://msdn.microsoft.com/library/en...ETAuthenticati on.asp?frame=true
#ASP.NET Authorization http://msdn.microsoft.com/library/en...etauthorizatio n.asp?frame=true
Hope also helps.
Regards,
Steven Cheng Microsoft Online Support
Get Secure! www.microsoft.com/security (This posting is provided "AS IS", with no warranties, and confers no rights.)
Get Preview at ASP.NET whidbey http://msdn.microsoft.com/asp.net/whidbey/default.aspx
Hi Steven ,
10x for the information
I will go over it and if I will have more questions I will ask .
bye and 10x again :-)
Tiraman
"Steven Cheng[MSFT]" <v-******@online.microsoft.com> wrote in message
news:ek**************@cpmsftngxa06.phx.gbl... Hi Tiraman,
From your description, you'd like to referece the current processing Web Request's Context in asp.net application so as to retrieve the ServerVariables from the Request object, yes?
I think the HttpContext.Current member in ASP.NET is the one you need, it provide the reference to the current ASP.NET request's Context and it
has many members such as Request, Response. Session, Server... You can view the following weblink for detailed reference: #HttpContext.Current Property http://msdn.microsoft.com/library/en...WebHttpContext ClassCurrentTopic.asp?frame=true
So we can use the HttpContext.Current.Request.ServerVariables to get ServerVariables
Also, the ASP.NET has its own Authentication and Authorization mechinasm different from classic ASP , here are some further references on ASP.NET's Authentication and Authorization: #ASP.NET Authentication http://msdn.microsoft.com/library/en...ETAuthenticati on.asp?frame=true
#ASP.NET Authorization http://msdn.microsoft.com/library/en...etauthorizatio n.asp?frame=true
Hope also helps.
Regards,
Steven Cheng Microsoft Online Support
Get Secure! www.microsoft.com/security (This posting is provided "AS IS", with no warranties, and confers no rights.)
Get Preview at ASP.NET whidbey http://msdn.microsoft.com/asp.net/whidbey/default.aspx
Hello Steven ,
Those articles helped me a lot so 10x and have a nice day ;-)
"Steven Cheng[MSFT]" <v-******@online.microsoft.com> wrote in message
news:ek**************@cpmsftngxa06.phx.gbl... Hi Tiraman,
From your description, you'd like to referece the current processing Web Request's Context in asp.net application so as to retrieve the ServerVariables from the Request object, yes?
I think the HttpContext.Current member in ASP.NET is the one you need, it provide the reference to the current ASP.NET request's Context and it
has many members such as Request, Response. Session, Server... You can view the following weblink for detailed reference: #HttpContext.Current Property http://msdn.microsoft.com/library/en...WebHttpContext ClassCurrentTopic.asp?frame=true
So we can use the HttpContext.Current.Request.ServerVariables to get ServerVariables
Also, the ASP.NET has its own Authentication and Authorization mechinasm different from classic ASP , here are some further references on ASP.NET's Authentication and Authorization: #ASP.NET Authentication http://msdn.microsoft.com/library/en...ETAuthenticati on.asp?frame=true
#ASP.NET Authorization http://msdn.microsoft.com/library/en...etauthorizatio n.asp?frame=true
Hope also helps.
Regards,
Steven Cheng Microsoft Online Support
Get Secure! www.microsoft.com/security (This posting is provided "AS IS", with no warranties, and confers no rights.)
Get Preview at ASP.NET whidbey http://msdn.microsoft.com/asp.net/whidbey/default.aspx
Hello Steven ,
Those articles helped me a lot so 10x and have a nice day ;-)
"Steven Cheng[MSFT]" <v-******@online.microsoft.com> wrote in message
news:ek**************@cpmsftngxa06.phx.gbl... Hi Tiraman,
From your description, you'd like to referece the current processing Web Request's Context in asp.net application so as to retrieve the ServerVariables from the Request object, yes?
I think the HttpContext.Current member in ASP.NET is the one you need, it provide the reference to the current ASP.NET request's Context and it
has many members such as Request, Response. Session, Server... You can view the following weblink for detailed reference: #HttpContext.Current Property http://msdn.microsoft.com/library/en...WebHttpContext ClassCurrentTopic.asp?frame=true
So we can use the HttpContext.Current.Request.ServerVariables to get ServerVariables
Also, the ASP.NET has its own Authentication and Authorization mechinasm different from classic ASP , here are some further references on ASP.NET's Authentication and Authorization: #ASP.NET Authentication http://msdn.microsoft.com/library/en...ETAuthenticati on.asp?frame=true
#ASP.NET Authorization http://msdn.microsoft.com/library/en...etauthorizatio n.asp?frame=true
Hope also helps.
Regards,
Steven Cheng Microsoft Online Support
Get Secure! www.microsoft.com/security (This posting is provided "AS IS", with no warranties, and confers no rights.)
Get Preview at ASP.NET whidbey http://msdn.microsoft.com/asp.net/whidbey/default.aspx This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: hazz |
last post by:
If I successfully run a VS.NET app which includes the following;
************************** APP 1 ****************************
m_iIdnt = new...
|
by: ajamrozek |
last post by:
I have an ASPX page that needs to display data from an Access DB that
resides on a network resource other than the running server. To access
the web page itself, I need IIS to have anonymous login...
|
by: darrel |
last post by:
Karl has helped me in the past in regards to communicating between controls
and pages:
http://www.openmymind.net/communication/index.html#3.1
I ended up going down the interfaces path and...
|
by: Dan Higman |
last post by:
I'm sure this is easy and I'll be embarrassed when I see the answer,
but I just can't figure this one out.
Using .Net/ASP 1.1 on a server using integrated authentication--
I have a web page...
|
by: Tiraman |
last post by:
Hi,
in vb6 we could use the GetObjectContext("Request") of the
ASPTypeLibrary.Request
in order to get the ServerVariables("XXX") from the asp to the dll .
can we do that in aspx and vb dot...
|
by: Robert |
last post by:
I have an app that was originally 1.1, now migrated to 2.0 and have run into
some sporadic viewstate errors...usually saying the viewstate is invalid,
eventvalidation failed or mac error.
My web...
|
by: Alice Wong |
last post by:
I am setting up my Web ASP.net application to connect to Sql server using
windows authentication.
I set up IIS to have integrated windows authenication and sql to allow
Windows authentication....
|
by: Ronald S. Cook |
last post by:
In my .aspx page, I am trying to read file that is on a different on the
company network.
When I map a drive to it and call from within my .aspx page, I get this
error:
|
by: Andy B |
last post by:
I have a class I am creating for data access. I need to access controls from
inside the class that are on a particular page. How do I do this? or is
creating an instance of the page class and using...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
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...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
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...
| |