Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to redirect AND get logged???

Status
Not open for further replies.

111101101

Programmer
Oct 16, 2003
39
US
I am trying to redirect someone to another page using javascript, however, the problem is, one they are redirected, i dont see that in the log (at the reference field)

for using redirect, i need to be able to track where they are going step by step.

i have tried using the META TAG way to redirect, but it doesnt get logged in the log file

then i have tried in javascript the window.location.href way, that didnt work either....

i haven'ted tried window.location.replace but i figured it'll be the same.

so how can i redirect someone to another page while it WILL get logged in the log file in the "referece" field.

all my other pages work without any kind of redirection, i can see it in the referece field, but its just the pages that do redirection dont log into the reference field of the log file.

Any help would be appreciated.

Thanks,
755
 
One way you can do it, although I don't know if you want it to redirect before displaying anything, is to make a quick form and automatically submit it onload. That may work.

But again, the page will have to load first, which may be undesirable to you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top