Click here to Skip to main content
15,903,856 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Dear friends

I have some problem when implements project.The problem is as follows :-

Consider one project Admin Panel :-It can control all the web pages by admin.
another one project web panel :-This project used all the user who can members of this project.

They have different domain for two project .
For example if you have consider webpages project so domain name is :-www.codeproject.com
and another domain is admin.codeproject.com
Both project handled same database.

The problem is happend i want to design this project in this type i sign up from web project go to
another project it means admin project.
for example :-if i am sign on www.codeproject.com then go to admin.codeproject.com in home page(admin).

Please give me information how to solve this problem as soon as possible..

Thanks in advanced !!
Posted

1 solution

You have a number of choices on how to solve this.
After the user has logged on you get their credentials and the accesses they are allowed. Ithere there are 2 then ask the user which on they want to access.

Make the user have 2 sets of credentials, 1 for each destination.

What I do is assume the the less secure sight is the destination and if the user has admin rights I show a button to access the admin portion of the site
 
Share this answer
 
Comments
Member 8089110 27-May-13 4:15am    
But problem is how to give link between two different domains...
Member 8089110 27-May-13 6:11am    
how to redirect page from one domain to another domain
for example i am working in web project the page is login.cs and i want to go or redirect to another project i.e. admin project so how to write code "Responce.Redirect("_________");".Please give me information as soon as possible .
Thanks in advanced !!

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900