Multiple content pages & ASP.net membership.
Posted on 2011-02-18
I have been looking over the web but I can not find what I am looking for. I wonder if you can provide me resources on this type of topic and I can read up and learn more about it.
Here is my scenario:
I have a main master page with 2 content place holders with content pages in them.
In content page 1: I want to put in the login control
In content page 2: I want to eventually display the content once the user authenticated.
I plan to use the .NET membership. When I look up on MSDN they have great examples but they are done in one single page or content page only.
So can you show me how can I handle session variable ect... across multiple place holders? If a user logged in successfully in content place holder 1, how can content place holder 2 be authenticated as well?
Any direct example or resources are great.