getiframes

Post Reply
gaurav.shetti
Posts: 119
Joined: Fri Feb 27, 2009 9:09 am

getiframes

Post by gaurav.shetti »

i have a webpage(vortex page) wherin i am having an iframe which calls an asp page.

<iframe src="$ajax" id="ifr" width="70%" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0" style="z-index:1"></iframe>

I want to fetch this content if possible from javascript and paste it in div. I saw that there was a method getiframes which can do this function. Can you please elaborate?
gaurav.shetti
Posts: 119
Joined: Fri Feb 27, 2009 9:09 am

getiframes

Post by gaurav.shetti »

i was actually trying this :
http://thunderstone.master.com/texis/ma ... 49ba907410

But since this wasnt possible as the page i was fetching always showed SSO Authentication page due to which contents were not being fetched.

Hence now i am defining an iframe in the vortex page which would be hidden at all times. The iframe would load the target and now i want to show the contents of the iframe in a div on the parent page instead of it being shown in an iframe.
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

getiframes

Post by mark »

If it's possible you'd have to put javascript on the page to copy the content from the iframe to the div after loading was complete.
gaurav.shetti
Posts: 119
Joined: Fri Feb 27, 2009 9:09 am

getiframes

Post by gaurav.shetti »

it is fine you can discuss it here. Actually the thing is such that i need to call the page from the other server which validates my session from the cookies and somehow either the values dont match or seems like the cookies are actually not set at the server level.
What i mean to say is that when i call an intermediate page which is on my server, maybe it doesnt have the cookie details. But forwarding the cookies as you have mentioned doesnt seem to work. seems the cookies dont match.
gaurav.shetti
Posts: 119
Joined: Fri Feb 27, 2009 9:09 am

getiframes

Post by gaurav.shetti »

User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

getiframes

Post by mark »

Maybe if you describe in more detail, what you did, what happened, what you expected.
Post Reply