I am working on an application where i need to intercept user requests.Its like that user accesses other web pages through my application.I have set up apache as the proxy server.The behavior i expect is same as if i turn on proxy on firefox and point it to my proxy server.Can it be done using javascript or flash.Any pointers would be appreciated.