Intraweb - where did the user navigate to...

When a user navigates to a different site (by entering link at the address bar or clicking on a favorite), or closes the browser ...
How can Intraweb know the link/site they went to, or if they closed the browser altogether?

TIA
controlrAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
babbloConnect With a Mentor Commented:
You can't do that, remember that these event are triggered in the user browser...

Best you can achieve is call a JavaScript function before user unload the page, something like this:

<body onunload="dosomething()">
...
function doSomething(){
..
//Do some AJAX magic and send info to server...
..
}

Open in new window


Hope this help.

Have a nice day!
0
 
controlrAuthor Commented:
was affraid of that :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.