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

x
?
Solved

Multiple content pages & ASP.net membership.

Posted on 2011-02-18
1
Medium Priority
?
301 Views
Last Modified: 2012-05-11
Hi,

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.
0
Comment
Question by:fylix0000
1 Comment
 
LVL 21

Accepted Solution

by:
Dale Burrell earned 2000 total points
ID: 34930007
MasterPages result in a single page of HTML - they are just a way to template the design. Therefore any authentication applies to everything as it normally would. You seem to be thinking of them as frames which are essentially separate html pages - but that is not the case.

So the answer is - it already works that way, you don't have to do anything.
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

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

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
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…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Screencast - Getting to Know the Pipeline
Suggested Courses

834 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