Hi Joseph,

It looks like both ORIGIN and TARGET are within the same domain, so you
shouldn't have any cross-site security blockers.

But from within the same domain, your XHR would/should get the same exact
thing from a URL as the browser would. The standard use-case of an XHR
would be to hit your json/xml endpoint, as opposed to your fully rendered
XHTML site.

I think within-same-domain means that you can also communicate across
webapps at different contexts on the same domain. i.e.
http://localhost/xmlui, can make a request to http://localhost/rest

Peter Dietz



On Thu, Jan 26, 2012 at 1:03 AM, Joseph <joseph.rho...@gmail.com> wrote:

> Dear DSpace Developers,
>
> Quick question:  Does cocoon care where an http request originates?
>
> Specifically, if I send a request from within a dspace page (ORIGIN)to
> another know dspace page(TARGET) using the javascript XMLHttpRequest()
> would TARGET run though all the aspects to generate the DRI and then the
> DRI processed by the theme resulting in the same code being generated (and
> then returned) just as if I had made the request with a normal browser?
>
> Thank You,
> -Joseph
>
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> Dspace-devel mailing list
> Dspace-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-devel
>
>
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to