NewbieRob
Posts: 20
|
Posted: 04/17/2007, 1:47 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 ASP forum)
|
|
|
Benjamin Krajmalnik
|
Posted: 05/21/2007, 8:52 AM |
|
Very simple.
In one of our commercial applications, our configurator automaticaly
generates a login snippet which the customer can place anywhere on their
website.
If you are using the standard login pages, then it would look something
along the lines of:
<form method="post"
action="http://wwwwhereverthepageislocatred.com/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>
The important think is to pass a parameter of ccsForm=Login on the action
(so the page gets processed and not displayed).
WHat you can do is go to your own website and go to the login page.
Copy everything fomr the <form ......> to </form>.
Modify the action to include the ccsForm=Login (assuming that the record in
your page is Login. If it is not, substitute your records name).
|
|
|
|