I have heard some odd stories about Macs... Often the solution seems to be
Trim().
Maybe: <cfif Trim(Form.Button) IS "Login"> ?
> Have you tried changing the name of the button to something other than
> 'button'.. There might be some strange reserved word browser issues going
> on...
>
>
>
> -----Original Message-----
> From: Jeff Fongemie [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 29 May 2001 1:51 PM
> To: CF-Talk
> Subject: IE4.5 Mac form problem issue! Help.
>
>
> Hello cf-talk,
>
> A mac user (HTTP_USER_AGENT = Mozilla/4.0 (compatible; MSIE 4.5;
> Mac_PowerPC))
>
> This error message is caused by the second line of a page called
> authenticate.cfm!
>
>
> An error occurred while evaluating the expression:
>
> #button# is " L O G I N "
>
> I'm using this as the first few lines:
>
> <cfset DSName = "#Application.DSN#">
> <cfif #button# is " L O G I N ">
> <cfset TimeOut = "#Now()#">
> <CFQUERY DATASOURCE="#DSName#" NAME="Check">
> SELECT * FROM guides
> WHERE Password = '#Form.Password#'
> <CFIF #Password# IS NOT "">
> AND Password = '#Form.Password#'
> </CFIF>
> <CFIF #Login# IS NOT "">
> AND Login = '#Form.Login#'
> </CFIF>
> </CFQUERY>
>
>
> How could something so simple cause an error?
>
> the page that leads to this has this for a form:
>
> <form action="authenticate.cfm" method="POST">
> <p> <p>
> <table width="35" border="0" cellspacing="4" cellpadding="4"
> align="CENTER" valign="MIDDLE">
> <tr>
> <td> <font face="Verdana, Arial, Helvetica, sans-serif">Login:
</font>
> <input type="Text" name="Login" align="RIGHT" size="20"><br>
> <font face="Verdana, Arial, Helvetica, sans-serif">Pass:</font>
> <input type="Password" name="Password" align="RIGHT" size="20">
> <center>
> <cfoutput>
> <input type="Hidden"
> name="Account"
> value="#NOW()#">
> </cfoutput>
> <cfoutput>
> <INPUT TYPE="Hidden" NAME="LastLogin" SIZE="50" MAXLENGTH="40"
> VALUE="#Now()#">
> </cfoutput>
> <input type="Submit"
> name="Button"
> value=" L O G I N ">
> </td></tr></table>
> </form>
>
>
>
> Best regards,
> Jeff Fongemie mailto:[EMAIL PROTECTED]
> ------------------------
> Internet Guns For Hire
> (603) 356-0768
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists