Solved

Multiple content pages & ASP.net membership.

Posted on 2011-02-18
1
292 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 500 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This video discusses moving either the default database or any database to a new volume.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

746 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

13 Experts available now in Live!

Get 1:1 Help Now