RE: Connection String
From: Gold (Gold_at_discussions.microsoft.com)
Date: 02/11/05
- Next message: Patrick A: "Re: Enterprise Library"
- Previous message: Mike D: "RE: dot net and Windows XP"
- In reply to: JJ: "Connection String"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 11 Feb 2005 05:27:03 -0800
Yes you can access the server variables and Response and request streams from
the middle tier through HTTP Context ID.
/Thangam,
"JJ" wrote:
> Hello,
> I was wondering what the best way would be to dynamically determine and
> store connection string information. What I mean by this is that I want the
> application to user the servervariable to determine what location it is
> running in and then dynamically assign a connection string value based on
> that location. I was planning on doing this from the codebehind pages which
> works fine because I am able to use the response object to determin where the
> code is running but I am not sure what to do in a vb class file where I have
> no access to server variables. Any Ideas???
>
>
> THANKS
- Next message: Patrick A: "Re: Enterprise Library"
- Previous message: Mike D: "RE: dot net and Windows XP"
- In reply to: JJ: "Connection String"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|