Click here to Skip to main content
12,886,393 members (43,502 online)
Rate this:
Please Sign up or sign in to vote.
See more: C++ ASP.NET4
I have a question.
for example:
1.we have 3 layers ie business,data access and ui layes and all these three layers are residing in three different server.
My question is How to access these layes or merge these layes so that it works success fully? in asp .net with c#. to restricted unauthorized users to access the page.
ie suppose we have 2 pages --login and registration.
i want if i type registration page url it should not be accessed with out login.
if i try to login then return back to login page and ask for login. how to do it?

please send me the solution as soon as possible in below mail id (Mail removed by editor)

Thanks in advance.
Posted 10-Sep-12 17:17pm
Updated 12-Sep-12 1:47am
aspnet_regiis 12-Sep-12 8:04am
I wonder how you are going to use C++ with ASP.NET..

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

After you have proper credentials setup, talk to each layer via a communication channel setup over WCF.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170424.1 | Last Updated 12 Sep 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100