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

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -