Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Intraweb - where did the user navigate to...

Posted on 2010-11-22
2
Medium Priority
?
787 Views
Last Modified: 2013-11-23
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
Comment
Question by:controlr
2 Comments
 
LVL 5

Accepted Solution

by:
babblo earned 2000 total points
ID: 34322734
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
 

Author Closing Comment

by:controlr
ID: 34343509
was affraid of that :)
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Loops Section Overview
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question