Programmatically set the referrer on javascript redirect -


cross-browser to call javascript setLocation ()

but still to take the reference person to the current webpage (just like HTTP server-side redirects) and if yes, how?

A clear example:

Site A has been sent to the user Site B .

When Site B , Site A Referrer is Site B to Site C (While adjusting the location in JS), when redirecting, Site B will be the referrer. When redirecting from B to C , I want to put the original referrer (i.e. site A )

It seems that you need the persistence of referre history, to get it easily You can use query-string:

  www.c.com/?originalReferrer=A    

Comments

Popular posts from this blog

c# - Roxy file manager in MVC doesn't accept session path -

jsp - No mapping found for HTTP request with URI with annotation config Spring MVC and Jetty -

java - Ajax call to jsp and jsp redirecting to further jsp -