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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking
application. Start tracking and documenting hours spent on a project or with a
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220477
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