?
Solved

Multiple content pages & ASP.net membership.

Posted on 2011-02-18
1
Medium Priority
?
297 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

764 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