I am having two sites.
I am presently using a registration form at my new site to register a user at my second site(old one). For this i am passing all the required form values to old site at the submit of form via post method (like username,password etc.).
I want to catch the page of the second site(old one) (where i am registering the new user) after the form is submited and checking of database (like the redirected page which shows "your account is created" or "this account already exists").
Please if any one could help me in catching the html page which is redirected after the submission of data as i dont want to redirect the user from my new site to the old site after the submission of the data.
Thanks in advance.