Anyone Tangled with iFrames

Scarpozzi

Lifer
Jun 13, 2000
26,391
1,780
126
On the basic webpage of links I created, I dropped an iFrame in to point to my Email server (ex. http://emailserver.com). The window displays the Email server content, but when I authenticate, the Email server prompts me to login again. This is because the Email server itself adds a string to the end of the URL after a successful login. So if I launch the http://emailserver.com in a separate window by issuing a link with the target="_blank" the URL looks like this: http://emailserver.com/?we.4i.di4.39d.kdid

The iFrame is only going to http://emailserver.com so the internal authenticator isn't picking up the unique cookie reference in the URL (?we.4i.di4.39d.kdid)

Is there a way to drop an iFrame link that will allow the unique parameters that show up during login? If not, is there another way to do this kind of thing... I'm not sure if code exists that works, but I would like to have the page in an iFrame rather than having to launch a separate window. Thanks,

-Scar
 

Scarpozzi

Lifer
Jun 13, 2000
26,391
1,780
126
After doing some more reading, what I'm actually dealing with is trying to pass as random generated session ID in the iFrame. I still don't know how to do it becuase I've not got much extra configured on the server, but I assume it will take some complex java to be able to keep track of it.
 

Snapster

Diamond Member
Oct 14, 2001
3,916
0
0
I think it must be an issue with the server side code as it shouldn't really be a problem.

I just did a test locally having 1 page (test1.aspx) which contains an iframe going to text2.aspx. test2.aspx initially has a textbox and a form submit button, and once clicked the server directs this page to test2.aspx?id=whatever, working as intended.