Hi,

Sorry, sent too soon.  When I said "aren't the same thing," I mean in
terms of the Same Origin Policy[1].

[1] http://en.wikipedia.org/wiki/Same_origin_policy

HTH,

-- T.J.

On Apr 7, 7:00 pm, "T.J. Crowder" <t...@crowdersoftware.com> wrote:
> Hi,
>
> > However on some computers the request is never even sent, and we can't
> > figure out why.
>
> Have you eliminated things like what brand of browser they're using,
> etc.?
>
> Walter's point about the URL well-taken, and I see that you've already
> fixed it for the bit he mentioned.  That's a good idea, because if I
> go tohttp://tonerize.cominstead ofhttp://www.tonerize.com, then an
> Ajax request tohttp://www.tonerize.comwon't work because
> tonerize.com andwww.tonerize.comare not the same thing.  So if some
> of your users were going tohttp://tonerize.com(I checked and you're
> not redirecting them over to the www version), that might explain why
> the calls were failing.  (You'd already updated it before I tried, so
> I don't know that that's really what was happening.)
>
> You're still using the complete URL in lots of places (various
> includes, your call to initAutocompleter, etc.).  If you make
> *everything* relative, things should go a bit more smoothly for you...
>
> HTH,
> --
> T.J. Crowder
> tj / crowder software / com
> Independent Software Engineer, consulting services available
>
> On Apr 7, 6:27 pm, Walter Lee Davis <wa...@wdstudio.com> wrote:
>
> > Is there a reason why you are using complete URLs in your call?
>
> > var categoriesInitUrl = 'http://www.tonerize.com/catalog/picker/categories/'
> > ;
>
> > You might get better mileage by making these relative URLs.
>
> > var categoriesInitUrl = '/catalog/picker/categories/';
>
> > Walter
>
> > On Apr 7, 2009, at 10:52 AM, Yaron wrote:
>
> > > Does anyone have any idea why we're having a problem here? It's not
> > > like the request is sent and nothing is sent back. The request is not
> > > even made when it doesn't work.
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to