Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Intraweb - where did the user navigate to...

Posted on 2010-11-22
2
781 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 500 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

856 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