?
Solved

Multiple content pages & ASP.net membership.

Posted on 2011-02-18
1
Medium Priority
?
300 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

649 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