Session State

Posted on 2011-10-14
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)
End Sub

Open in new window

Question by:lrbrister
    LVL 83

    Expert Comment

    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.

    Author Comment

    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.

    What would be the steps to implement Forms authentication?
    LVL 83

    Accepted Solution

    Its straight forward. Here is a tutorial

    Author Closing Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Suggested Solutions

    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…
    A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
    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.…
    This video discusses moving either the default database or any database to a new volume.

    779 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

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now