rahul
rahul

Reputation: 1

How to find HTTP request details

I want to redirect from www.abc.com to www.xyz.com.

When I redirectd to www.xyz.com at that time how I know about details of GET method of HTTP . so that I come to know this request come from www.abc.com.

As both application hosted on different sever. I tried HTTP Handler for www.xyz.com, but I am unable to get details of HTTP when request method is GET. My handler and module event unable to call at time of redirect.

Upvotes: 0

Views: 276

Answers (2)

cilerler
cilerler

Reputation: 9420

Usually when you redirect the request, your header will have the Referrer information which can be retrievable from the target server. For more details about HTTP Referrer please click here

Upvotes: 0

Apparao
Apparao

Reputation: 1714

You can pass hint, for example a parameter saying returnURL=abc.com. And in the XYZ.com, check for the URL parameter.

Upvotes: 1

Related Questions