How to pass username in the login control to next page?
- From: "kai" <kailiang@xxxxxxxxxxxxx>
- Date: Sat, 1 Sep 2007 09:05:00 -0400
Hi, All
I have VB 2005, I use login control to logn in, after log in, I go to
another page. I want to use the login username in another, how to use
session varible to pass the username?
I use the following code, but I cannot login:
Protected Sub Login1_Authenticate1(ByVal sender As Object, ByVal e As
System.Web.UI.WebControls.AuthenticateEventArgs)
Session("username") = Login1.UserName
End Sub
Please help
Thanks
Kai
.
- Follow-Ups:
- Re: How to pass username in the login control to next page?
- From: Mark Fitzpatrick
- Re: How to pass username in the login control to next page?
- Prev by Date: Re: Forms Authentication with Active Directory
- Next by Date: Re: Forms Authentication with Active Directory
- Previous by thread: Forms Authentication with Active Directory
- Next by thread: Re: How to pass username in the login control to next page?
- Index(es):
Relevant Pages
|