used structdelete and now Elementemployee.id is undefined in SESSION.

Posted by Robert on Stack Overflow See other posts from Stack Overflow or by Robert
Published on 2010-04-29T20:07:50Z Indexed on 2010/04/29 22:37 UTC
Read the original article Hit count: 154

Filed under:

using coldfuion 9
I used structdelete(session,"Elementemployee.id") in one of my .cfm display files.Also in my application.cfc it defined as is

<cfset tArray[1][2] = "#session.employee_id#">

and the error is

 `Elementemployee.id is undefined in SESSION.` 

Is there a way that i can reset it without following the method shown below

 Navigate to the page Server Settings => Memory Variablesin the Coldfusion Administrator. Uncheck the option Use J2EE session variables and check the options Enable Application Variables and Enable Session Variables. Click the button to submit the changes.

© Stack Overflow or respective owner

Related posts about coldfusion