TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Pawel Basiak
NA
3
1.5k
Passing username value from Login to default
Oct 12 2011 1:49 PM
Hello,
I'm using forms authentication with active directory.
if (domainProvider.ValidateUser(txtUsername.Text, txtPassword.Text))
{
FormsAuthentication
.RedirectFromLoginPage(txtUsername.Text,
false
);
}
How can I pass the value from txtUsername.Text to default.aspx so I can use it to query a SQL server database for the first name/last name etc.
Thank you!
Reply
Answers (
4
)
What are advantages of passport Authentication
How to Get Uploaded Image in Profile of User