Using Your Own Login Form on Web Page Accelerated by iChain
Novell Cool Solutions: Tip
By Jesse Pretorius
Reader Rating
from 2 ratings
|
Digg This -
Slashdot This
Posted: 29 Aug 2005 |
PROBLEM:
iChain allows you to customize its login page, but only using very basic HTML. I have a customer who wants to provide their own login form on a web page accelerated by iChain (through a public resource) to allow their users to login through their own web form, not the iChain form.
SOLUTION:
To do this, all you need is the following code in an HTML (or PHP, ASP, whatever) page:
<FORM ACTION="/ICSLogin/" METHOD="POST" ENCTYPE="application/x-www-form-urlencoded"> User Name: <INPUT NAME="username" TYPE="text" SIZE="20"><br /> Password: <INPUT NAME="password" TYPE="password" SIZE="20"><br /> <INPUT TYPE="submit" NAME="submit" value="Log In" ALT="Login"><br /> <INPUT TYPE="hidden" NAME="url" VALUE="https://your.server.com/" READONLY> </FORM>
Reader Comments
- The action in the form needs to be set to a HTTPS link, otherwise the username and password will be submitted in clear text to location listed in the action attribute.
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com
