CF doesn't really deal with nulls well - in fact, there's really no such thing as a null in CF. If you want your test to work, you can get rid of the session key entirely. Just use structDelete(session, "myVar") to eliminate it.
On 6/6/05, Daniel Kessler <[EMAIL PROTECTED]> wrote: > I need to make a variable null, because it's tested for with > structKeyExists(session,'myVar') and I need that to fail in certain > conditions. > > Sorry for the simple question but I went to Reserved Words and null > is in there but it doesn't seem to work in my code: > <cfset session.session.return_url = NULL> > > I know I can set it to empty quotes, but I'd rather it not be there. > > -- > Daniel Kessler > > Department of Public and Community Health > University of Maryland > Suite 2387 Valley Drive > College Park, MD 20742-2611 > 301-405-2545 Phone > www.phi.umd.edu > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:208725 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

