Register  |  Login

Question Details    

   Question

Time: 11:05 - Dec 05, 2007     Asked by: dankonsoer      Status: Unanswered      Points: 250   

Creating a logon for for two sets of people

I work at a school where students and parents can check on the grades progress. There are unfortunately two separate applications, but I want one logon form. What I was hoping to do was to create two radio buttons, one for parents and one for students, and depending on which one is selected, when you hit submit, it takes you there.

Is this possible?

Thank you for any help you can give me.

Ask a New Question

Become a Quomon Expert

Current Categories

 

Other Questions Needing Answers


   

Answer Discussion
Answer Discussion
Answer Summaries
Answer Summary
 
dankonsoer,

Yes, this is very possible...and surprisingly easy if the receiving applications are able to process login information that is "passed" to them.

Basically the architecture looks like this:

Common login page (html) with a textbox for username and password, two radio buttons to select role (student or parent) and a login button.

The code behind for this page will be (pseudo code)
Page_Load(object sender, eventargs e)
{
 if (IsPostback)
{
if (radParent.checked) Server.Transfer(path to parents application);
else Server.Transfer(path to students application);
}
}

Once you get to the applications, you can handle the passed values, authenticate the user based on that information and then, if it passes, present the appropriate application.

Do you have access to the source code of both of these applications? If so, you will need to create a page for each that will take the information (either out of the QueryString or with ServerTransfer from the common login, process the submitted information.

If you don't have access to the source code it's going to be a bit more difficult, you will probably have to contact the vendor(s) to see if or how they support a "single sign-on" type of scenario.

If you have any questions, please don't hesitate to ask. Also, if you need a consultant on this project, my contact details are in my profile.

Take care,
Ric

Expert:

rcastagna

Date:

Dec 06, 2007

Time:

13:43

 

Votes: Good (0) | Bad (0)
Login to rate this answer

Another way to solve this problem would be just to give the user a different view after she logged on, depending on whether she was a student or a parent. Is there a reason you can't do it this way? You would basically submit the login credentials to a script that would verify them, then check the type of user and forward them to the appropriate application. Does that make sense?

Expert:

andrew

Date:

Mar 03, 2008

Time:

18:42

 

Votes: Good (0) | Bad (0)
Login to rate this answer

 

Answer Summary Currently Unavailable.

Answer Summaries cannot be submitted until the Answer Discussion is complete.

If you have an Answer for this question, submit it in the Answer Discussion area.




Respond to this question:

New User

  Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:


Forgotten Password

 

   

"Psst, Quomon is a great site. Pass it on."     Tell a Friend  |   Link To Us  |   Save to Delicious  |   Digg! Digg it


All Questions


Language Options

English:

www.quomon.com

Español:

www.quomon.es

Sponsors

Questions and Answers Software
Real Estate Postcards
Marketing Fulfillment