After i login to my site, i want to display the username of the person that just logged in. In my login.cfm i have <cfset Session.UserName="#Login.UserName#"> which set the variable, then in my next page (NewPO.cfm) i have <cfoutput>#Session.UserName#</cfoutput>, which upon execution of the code gives the following error:
Element USERNAME is undefined in SESSION.
The Error Occurred in C:\Inetpub\ line 68
66 :
67 : <body>
68 : <cfoutput>#Session.UserName#</cfoutput>
69 : <cfform name="form1" method="post" action="POInput.cfm">
70 : <table>
Any ideas on what is causing this problem?? Thanks!
Element USERNAME is undefined in SESSION.
The Error Occurred in C:\Inetpub\ line 68
66 :
67 : <body>
68 : <cfoutput>#Session.UserName#</cfoutput>
69 : <cfform name="form1" method="post" action="POInput.cfm">
70 : <table>
Any ideas on what is causing this problem?? Thanks!