Try structDelete(structure, key)

----- Original Message -----
From: "Scott Brady" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, February 13, 2003 2:55 PM
Subject: Session structures in CF5 vs. CFMX


> My development server is MX.  My client's web host server is currently
CF5.
> I'm utilizing Session variables and initializing a Session structure if it
> doesn't exist.
>
> This code works fine in MX:
>
>   if (NOT IsDefined("Session.ncsli.strSponsorship"))
>   {
>    Session.ncsli.strSponsorship = StructNew();
>   }
>
>
> However, in CF5, it throws an error on the "StructNew()" line.  Is there
> something really simple I'm missing in order to create an empty Session
> structure in CF5?
>
> Thanks!
> -------------------------------------------
> Scott Brady
> http://www.scottbrady.net
>
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to