should have said is "errormsg is not a key in structure
session"....you may want to make sure session.errorMsg is defined.
-joe
----- Original Message -----
From: Robert Orlini <[EMAIL PROTECTED]>
Date: Wed, 29 Sep 2004 11:00:39 -0400
Subject: Variable session is undefined in CFMX
To: CF-Talk <[EMAIL PROTECTED]>
Hello,
I have CFMX 6.1 on one server and CF 5 on another. Both run the same
CF program I created, however, on the one running CFMX I get a
"variable session is undefined" on the login.cfm page that I don't get
on the login.cfm page on the machine running CF 5.
The code (in brief) for the exact page on both machines is below.
I get the error on the last line: <CFSET temp=structdelete(session,"errormsg")>
I ran the tester on CFMX admin to see what compatibility issues the
coding on this page had with CFMX, but it revealed nothing.
Any help would be appreciated.
Thanks.
Robert O.
HWW
ô�ô
<form method="POST" action="" name=f1>
<CFIF IsDefined("session.errormsg")>****<CFoutput>#session.errormsg#</CFOUTPUT>****</CFIF
<td bgcolor="#FFFFFF" valign="middle" align="right"><b><font
face="Arial" size="2">Password:</font></b></td>
<td bgcolor="#FFFFFF" valign="middle"><font face="Verdana"
size="2"><b><input type="password" size="20"
name="password"></b></font></td>
</tr>
<tr>
<td bgcolor="#FFFFFF" valign="middle"> </td>
<td bgcolor="#FFFFFF" valign="middle"><input type="image"
src="" name="submit" width="93" height="27"></td>
</tr>
</form>
<CFSET temp=structdelete(session,"errormsg")>________________________________
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

