Link to home
Start Free TrialLog in
Avatar of Larry Brister
Larry BristerFlag for United States of America

asked on

Session State

If I place this code in my Global.asax file what web.config session state mode do I need to be in?


Private Sub Session_Start(sender As Object, e As EventArgs)
	Response.Redirect("LoginPage.aspx")
End Sub

Open in new window

Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

Why are you doing this? If you are using Forms Based Authentication, ASP.NET will automatically redirect users to login page if the user is not logged in.
Avatar of Larry Brister

ASKER

CodeCruiser:
This intranet started as a simple web with some data entry forms.
Basic login.

It's now balooned into an actual full blown massive business Intranet.

So...
What would be the steps to implement Forms authentication?
ASKER CERTIFIED SOLUTION
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks