Tangent question:
1. If someone was to add an iframe to a page, would cookies be sent to the
page within the iframe?

I'm working on an app where we need to scrape content from multiple pages
that all use a common login scheme that creates a cookie for a central
server, despite the application being different "domains". I'm trying to
find every solution I can, client and server-side...

2. If cookies are sent, I could theoretically fetch the content of the
iframe and send it back to the server, yes?

stephen



On Wed, Dec 10, 2008 at 10:32, ricardobeat <[EMAIL PROTECTED]> wrote:

>
> I believe you have already answered that to yourself but was hoping
> for a misteryous miraculous solution right? :)
>
> No, there isn't, you'll have to do it server-side. Or if you're not
> playing with the remote page's content use an iframe.
>
> cheers,
> - ricardo
>
> On Dec 10, 8:17 am, Roy M <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> > Is it possible to get remote contents if page is in another domain,
> > without use of proxy?
> >
> > E.g.
> >
> > <div id="test"></div>
> >
> > <script type="text/javascript">
> >         $("#test").load("http://www.google.com";);
> >
> >         alert( $("#test").html() );
> > </script>
> >
> > Thanks.
>

Reply via email to