Welcome Guest, Not a member yet? Register   Sign In
Losing session in Firefox when redirect to other page
#6

How do you call the page eg. Ajax?
Someone on the IRC had the same problem (12 days ago).

Problem was the ajax request. The request was from a other domain. Problem called Same origin policy

https://en.wikipedia.org/wiki/Same-origin_policy

Solution
http://caniuse.com/#feat=cors
http://stackoverflow.com/questions/35062...71#9523871

header("Access-Control-Allow-Origin: http://foo.example"); in the Controller. http://foo.example is the ajax site. Smile
Reply


Messages In This Thread
RE: Losing session in Firefox when redirect to other page - by Paradinight - 07-12-2015, 02:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB