http://depressedpress.com/Content/Development/ColdFusion/Guides/Variables/Index.cfm
On 10/8/05, Saturday (Stuart Kidd) <[EMAIL PROTECTED]> wrote: > Hi guys, > > I have a competition on my site. When a user enters the competition > I set a client variable: > > <!--- set the client variable using the current article id ---> > <cfset 'client.competitionEntry#url.ID#' = 1> > > I tested the competition a few days ago and now when i come to look > at it I can see that the Client variable > client.competitionEntry#url.ID# must still be equalling 1 as this > line is in effect: > > <!--- this person has not yet entered ---> > <cfif NOT isDefined > ('client.competitionEntry#url.ID#')> > > Show competition form here. > > <!--- this person has already entered ---> > <cfelse> > > You have entered this competition. > > I automatically thought that client variables would end once the > browser has been closed? I have had my Mac switched off overnight, > how could this be? > > Anyone who can shed some light on this I'd be very grateful. > > Thanks, > > Saturday > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220479 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54