Hi there,
-
Within my Yii application, I have a web service returning JSON content.
-
For security reasons, the web service cannot be accessed directly by an AJAX request, but has to go through a server-side proxy which will provide a domain access key. The proxy I use is based on the one you’ll get by Googling Troy Wolf proxy (I can’t post links apparently)
-
Problem: When I call the web service, via the proxy ([mysiteurl]/proxy.php?proxy_url=[mysiteurl]/mywebservice/data.json), it returns the data successfully. But it also logs me out of my Yii site!
Any ideas as to why this happens and how to approach the problem would be really appreciated!