So far, nothing works and I continue to get the same exact error.
This is the code I used, and you can also see we are trying to read
this value from the cookie and then insert it into a different DB
table. If someone has a better way, I'm all ears. We're using CFMX
6.1, by the way.
________________________________________
<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">
<cfcookie name="LinkShareUID" value="#idQuerySerialized#" expires="never">
<cfwddx action="wddx2cfml" input="#idQuerySerialized#" output="MaxID">
<cfcookie name="siteID" value="#url.siteID#" expires="never">
<cfcookie name="time_entered" value="#time_entered#" expires="never">
<!--- Updates DB table with Cookie values --->
<cfquery datasource="um" name="safeID">
INSERT into LinkShareTrans
(SiteID, LinkShareUID)
VALUES
('#url.siteID#, #Cookie.idQuerySerialized#')
</cfquery>
<cfwddx action="wddx2cfml" input="valueReadFromCookie" output="MaxID">
<cfdump var="#MaxID#">
________________________________________
Thanks,
Rob
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:220427
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