NewbieRob
Posts: 20
|
| Posted: 04/17/2007, 1:45 PM |
|
Does anyone have some insight on how to implement the following custom login solution?
I need to link non-CCS login forms that are part of a website to the CCS 3 extranet I am building for a client. I am am building security for the extranet into the CCS project. All of this works great as long as I stay in CCS. However...
This client wants to put a login form for their extranet on each of the pages of their non-secured website. I am developing the extranet in CCS 3 but a web developer built and maintains their public website. Yes Support suggests that I, "Create a non-CCS HTML form on the public website that looks the same way as the Login form in CCS. And point that form to the CCS ASP script that will perform the login." This is apparently similare to what the web developer I'm working with has done in the past with other clients. However, all she has done is create the form and turn it over to other programmers to finish the work so she is no help in the ASP area.
I'm not sure how to do this. This entails multiple pages that will have the login form but they all need to "point" to the CCS ASP script that will actually perform the login. I am mostly a systems and Access database guy so any pointers anyone can give me will be most appreciated. Thanks in advance, ROB.
(Also posted in the ASP forum)
|
 |
 |
mamboBROWN
Posts: 1713
|
| Posted: 04/30/2007, 5:01 PM |
|
NewbieRob
Were you ever able to resolve this??
|
 |
 |
NewbieRob
Posts: 20
|
| Posted: 04/30/2007, 6:01 PM |
|
Thanks for asking . I was able to design a form after Benjamin Krajmalnik suggested a technique in the ASP forum. I basically put a form on the HTML pages that has the same fields as the CCS login form. Then I execute the CCS script for the login page when the submit button is clicked. Here is the HTML:
<form method="post"
action="http://www.mydomain.com/mydirectory/Login.asp?ccsForm=Login"
name="Login"><table cellspacing="1" cellpadding="3">
<tr><td align="center" nowrap>Login </td><td><input name="login"
value="" maxlength="50"></td></tr>
<tr><td align="center" nowrap>Password </td><td><input type="password"
name="password" value="" maxlength="50"> </td></tr>
<tr><td colspan="2" align="right" nowrap><input name="Button_DoLogin"
type="submit" value="Login"> </td></tr></table></form>
Now I'm just trying to figure out how to redirect back to the original login page (not the CCS page) if there are any login errors (eg; missing or incorrect password) and reflect the display the error message to the user. Any ideas?
|
 |
 |
|