Donate SIGN UP

asp

Avatar Image
keys | 15:02 Tue 21st Mar 2006 | Technology
1 Answers

On an ASP page


How do you use authorisation file/webconfig if you want a SQL query to include the information (user's ID and DOB) in the authorisation file.


any ideas will be great

Gravatar

Answers

Only 1 answerrss feed

Best Answer

No best answer has yet been selected by keys. Once a best answer has been selected, it will be shown here.

For more on marking an answer as the "Best Answer", please visit our FAQ.
I assume you mean ASP.NET. ASP didn't use web.config.

Article on web.config authorization :

http://support.microsoft.com/kb/316871

Once a user is logged, you can use Context.User.Identity.Name to get the user name to do a SQL query to get the DoB (I assume the DoB would be held in a database).

Only 1 answerrss feed

Do you know the answer?

asp

Answer Question >>