I just realized the entry of DOMAINA.COM was set as the "referring URL". I 
think it must be caused by something in my code then and handling multiple 
request from varying domains with thread safe enabled.

Thank you,
Prateek

On Monday, June 11, 2012 5:06:10 PM UTC-4, someone1 wrote:
>
> I have an app with multiple domains setup for it. Inside the app, I use 
> the request.host_url value to help drive some logic of the website as well 
> as the base URL for all links on the page. We discovered that we'll 
> randomly land on a page from one domain yet we'll see it linking to another 
> domain that's still part of our account. This is obviously unsettling.
>
> I tracked one such instance in our logs and found something odd with the 
> data that was logged:
>
> *I visited http://www.DOMAINA.com/XXXXXX?categoryID=11116 and found this 
> in the headers:*
>
> "GET /XXXXXXX?categoryId=11116 HTTP/1.1" 200 7396 
> "http://www.DOMAINA.com/XXXXXXX?categoryId=4733"; "Mozilla/5.0 (Windows NT 
> 6.1; WOW64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.52 
> Safari/536.5" "www.DOMAINB.com" ms=1033 cpu_ms=327 api_cpu_ms=0
>
>
> As you can see, there log gives a random full URL requested under 
> DOMAINA.com, but all links and such are generated on the page as if the 
> request originated from DOMAINB.com. I have threadsafe enabled on this app 
> so I wonder if it has to do with an instance handling two request from 
> two separate domains simultaneously and thus crossing over data between 
> requests. The previous request that the instance served to DOMAINB.com was 
> 3 seconds before the the request I've shown above. There were also 10 
> other requests on the various other domains between them.
>
> Is this due to something incorrect in my code and utilizing threadsafe? 
> I'm confused as to why the headers found in the log lists two different 
> domains and that the request portion of the URL is accurate in one spot but 
> not the other. I would appreciate any advice in tracking down this issue, 
> nothing in the code seems like it should be causing this kind of issue.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/BWhIu0rw7-8J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to