I tried this and it doesn't work, but am I even on the right track?
<cfquery datasource="um" name="idQuery">
BEGIN TRANSACTION
UPDATE LinkShareMaxID SET LinkShareUID = LinkShareUID +
1
SELECT LinkShareUID FROM LinkShareMaxID
COMMIT TRANSACTION
</cfquery>
<cfwddx action="cfml2wddx" input="idQuery" output="idQuerySerialized">
<cfwddx action="wddx2cfml" input="idQuerySerialized" output="MaxID">
<cfcookie name="LinkShareUID" value="#MaxID#" expires="never">
Close, but your order is a bit off.
<cfwddx action="cfml2wddx" input="idQuery" output="idQuerySerialized">
<cfcookie name="LinkShareUID" value="#idQuerySerialized#"
expires="never">
<...read cookie...>
<cfwddx action="wddx2cfml" input="valueReadFromCookie" output="MaxID">
<cfdump var="#MaxID#">
--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
"C code. C code run. Run code run. Please!"
- Cynthia Dunning
Confidentiality Notice: This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:220420
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