best practices passing userid/pwd session variables from UI to Business layer

A

absoft

What are the best practices for passing UserId and Password stored in
the Session state on the UI layer e.g. ASP.NET Web Forms to the
Business Layer or the Data Layer.
 
R

Registered User

What are the best practices for passing UserId and Password stored in
the Session state on the UI layer e.g. ASP.NET Web Forms to the
Business Layer or the Data Layer.

Why would you want to keep these values as Session variables? What
sort of MembershipProvider is being used if any?

regards
A.G.
 
D

dotnet dude

I am still using ASP.NET 1.1 and I think MembershipProvider is 2.0
specific. I need to keep these two values; Username and Password in
session becoz they are used for sql authentication to create query
string to query SQL Server db. For this purpose I need to pass these
values from UI to data layer so that sql queries execute based on the
logged in user.
 

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,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top