IE won't start session from an iframe?..

Posted by jayarjo on Stack Overflow See other posts from Stack Overflow or by jayarjo
Published on 2010-04-11T08:17:18Z Indexed on 2010/04/11 8:23 UTC
Read the original article Hit count: 310

Filed under:
|
|
|
|

The task was to bypass login form on remote server with a session_id acquired through a call to server's web API. So that user wouldn't have to login twice.

Since there's no way to set cookies for different domain. What we came up to was - put a little file on remote server, to which we pass encrypted session_id from hidden iframe and which is supposed to start a proper session for a remote app, which is then loaded in another iframe.

This approach works fine in FF/Chrome, but not IE... However if I copy url to self-made remote authorization script from iframe's src attribute to to IE's address bar and load it from there, session get's created as expected. But for some reason it just doesn't want to do the same from an iframe.

Does anyone have any clue, why this is happening?

© Stack Overflow or respective owner

Related posts about session

Related posts about ie