I think that's because the js is executed when the page is loaded in a
browser so probably you must try to tweak the js a little bit
El 22/04/2009, a las 17:27, paranetrix5394 <firstname.lastname@example.org> escribió:
I'm having a strange problem that I'm trying to solve and I cant
seem to figure out why this is happening. I have a Flex Application
doing an HTTPSERVICE request to an external .ASP file on the
website. This file has code the executes and sends data back to the
application. All that work fine but in the ASP file I have some
from within the Flex App. If I run the ASP page by itself (out side
from flex), the scripts run. Is it not possible to have the
help would be greatly appreciated.
I'll say yes.
Here is what I think is going on but I can't prove it yet:
In the case of Flex or any ajax/web2.0 application, the application calls the .ASP file to be executed and the server does its thing the same as before but the code that the .ASP sends back to the browser never gets loaded into the browser but instead gets intercepted by the requesting flex application.
Can someone vouch for my thinking? I don't want to waste time trying to make this work if it cant.
I agree, the difference is that ASP is a dynamic page and it gets processed on the server, while JS is processed on the client, so when you request a page through Flex there's no client so that never gets trigger, I'll recommend you to add your own tracking, or if you find anything better please let me know.