I'm attempting to setup a autologin script on an external website, accessed through an iFrame.
i.e. iframe url="http://www.othersite.com/autologin/?token=029dd3df34ds"
That script should just check the token against DB, set a logged_in session if successful and then redirect.
It's just failing to set the session and I can't figure out why.
The odd thing here is that the normal login form (similar login, session handling) on this external site does work.
In both cases I am using header('P3P: CP="CAO PSA OUR"');
Any thoughts?