Application.cfm

<cfset authenticationURL = "/utilities/builder/login.cfm">

<cfa_secure
     username="#username#"
     password="#password#"
     authenticationURL = "#authenticationURL#"
     securityContext = "sc1"
     r_stUserProfile="stUser"
           R_BRESULT="bResult">



login.cfm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
     <title>Login</title>
</head>

<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0" bgcolor
="silver">
<cfoutput>
<form action="#cgi.script_name#?#cgi.query_string#" method="post">
<fieldset>
     <legend class="menuitem">Login</legend>
     <table>
     <tr>
          <td colspan="2" align="center" class="bold">
          <cfif isDefined("url.failedlogin")>
               You have attempting to access a secure section of this
site.<br>
               Please notice the errors encountered below:
               <br>
          <cfelse>
               You are attemping to access a secure area of this web
site.<br>
               Please enter your username and password to continue.
          </cfif>
          </td>
     </tr>
     <tr>
          <td colspan="2">&nbsp;</td>
     </tr>
     <tr>
          <td class="normal">UserName:</td>
          <td><input type="text" name="username"></td>
     </tr>
     <tr>
          <td class="normal">Password:</td>
          <td><input type="password" name="password"></td>
     </tr>
     <tr>
          <td colspan="2">&nbsp;</td>
     </tr>
     <tr>
          <td colspan="2" align="center"><input type="Submit" value
="Login"></td>
     </tr>
     </table>
</fieldset>
</form>
</cfoutput>
</body>
</html>




                                                                                       
                                 
                    "Tom Briscoe"                                                      
                                 
                    <Tom.Briscoe@compa        To:     Spectra-Talk 
<[EMAIL PROTECTED]>                     
                    ssbnk.com>                cc:                                      
                                 
                                              Subject:     How to build custom login 
for Spectra                        
                    05/06/2002 10:48                                                   
                                 
                    AM                                                                 
                                 
                    Please respond to                                                  
                                 
                    spectra-talk                                                       
                                 
                                                                                       
                                 
                                                                                       
                                 



Hello.  I would like to build a custom login page for Spectra.  If for
any reason, it would be useful just to put my own company's "look" on
the page.  I understand you can specify a login page for your cfa_secure
tag.  However, does anyone have sample code they could share for the
login page itself?

Thanks!

______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to