• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 791
  • Last Modified:

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
0
controlr
Asked:
controlr
1 Solution
 
babbloCommented:
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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now