global login page

P

pherms

Can anybody help me out?

Here's what I want to do:

I'm redesigning my intranet site. I'm going to use .NET framework 2.0 for
this.
I get the username with request.servervariables("auth_user") which gives me
the domain username. I put this in a string and use this to query a database.
From the result I get from this query, I want to put four database fields in
4 strings.
Currently I'm using classic asp and I accomplished this by using a include
file on every page. How can I accomplish this in ASP.NET, so that these
strings are available to all ASP.NET applications?

thanks in advance
 
G

Gaurav Vaish \(www.EdujiniOnline.com\)

There are two ways:

1. Put "these strings" (I don't know what they are) in Session
2. If you need to "create them" on "every request", look into the interface
IHttpModule.
 
G

Gaurav Vaish \(www.EdujiniOnline.com\)

There are two ways:

1. Put "these strings" (I don't know what they are) in Session
2. If you need to "create them" on "every request", look into the interface
IHttpModule.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,996
Messages
2,570,238
Members
46,826
Latest member
robinsontor

Latest Threads

Top