Page 1 of 1
getiframes
Posted: Fri Mar 20, 2009 11:24 am
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?
getiframes
Posted: Fri Mar 20, 2009 2:14 pm
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.
getiframes
Posted: Fri Mar 20, 2009 2:47 pm
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.
getiframes
Posted: Sat Mar 21, 2009 9:30 am
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.
getiframes
Posted: Sat Mar 21, 2009 9:33 am
by gaurav.shetti
if you want you can contact me directly at
gaurav.shetti@tcs.com
getiframes
Posted: Mon Mar 23, 2009 10:58 am
by mark
Maybe if you describe in more detail, what you did, what happened, what you expected.