I finally went the "variable in a hidden formfield" route...

Rick

-----Original Message-----
From: Claude Schneegans [mailto:[EMAIL PROTECTED]
Sent: Monday, April 04, 2005 3:50 PM
To: CF-Talk
Subject: Re: Anything wrong with this statement?


 >>When the page is submitted back to itself, the variable is upped 1,

Ah ah! Here is what is wrong: when the page resubmit itself, the
variable Photo is lost and a new one (default = 0),
Unless you resend the variable through the URL or as an hidden field.
You could also use a session variable instead.

--
_______________________________________
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:201431
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

Reply via email to