Can anyone help me? I’m trying to store a visitors resolution to my database using Flash and Coldfusion
This is what I have - my flash file with this code…
onClipEvent (Load) {
Resolution = “System.capabilities.screenResolutionY:960”;
“System.capabilities.screenResolutionx:1280”;
mysend=new LoadVars();
whereto=“add-info.cfm?myname=”+Resolution;
mysend.load(whereto);
}
And I have a coldfusion page (add-info) with this -
<cfquery name=“insertrecord” datasource=“030201ics3m2b”>
INSERT into Webstats (Resolution)
VALUES(’#resolution#’)
</cfquery>
I published the Flash File and tested it. The resolution isnt stored in the database. where have I gone wrong?