Link to home
Create AccountLog in
Avatar of dontnetsanjay
dontnetsanjay

asked on

login control, track user

Hello,
I have thislogin control(login.aspx)
now when login is successful,
control is redirected to another page(start.asp)
1) how do i track this user
2) if user enters this start.aspx page in brower how do i check this if user is logge in or not and if not content is not displayed but user is redirected to login page
Avatar of samtran0331
samtran0331
Flag of United States of America image

1. What do you mean by "track"?
2. This happens automatically with Forms authentication. If forms auth is enabled, the user would have to log on or .Net would automatically redirect the browser to the login page.
Avatar of dontnetsanjay
dontnetsanjay

ASKER

hello samtran0331

and how do we activte or use form authentication?

Yes u got my question
ASKER CERTIFIED SOLUTION
Avatar of samtran0331
samtran0331
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
thanks