[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Session State

Posted on 2011-10-14
4
Medium Priority
?
248 Views
Last Modified: 2012-06-27
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

0
Comment
Question by:lrbrister
  • 2
  • 2
4 Comments
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 36969066
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.
0
 

Author Comment

by:lrbrister
ID: 36969777
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?
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 2000 total points
ID: 36970202
Its straight forward. Here is a tutorial

http://support.microsoft.com/kb/301240
0
 

Author Closing Comment

by:lrbrister
ID: 36970591
Thanks
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

865 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question