Multiple Logon Forms - How to direct user to correct form based on what they're trying to access

Joel Dahlin asked on April 1, 2015 23:49

I have two pages with logon forms on them that protect different sections of the site. Is it possible to when a user tries to access pages under Logon Form A and they're not authenticated to redirect the user to Logon Form A and if a user tries to access a child page of Logon Form B and not authenticated they get redirected to Logon Form B?

Recent Answers

Joel Dahlin answered on April 2, 2015 03:44

I decided I was overthinking it. I created a generic logon page that is used for the Global Website Logon page. So if a user tries to access something that needs authentication they will be redirected to the generic logon page. Upon submission they will be redirected back to the page they wanted to access. If they go through the site and reach the parent page unathenticated they can logon using the form on this page which will redirect them upon submission to it's child pages.

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.