zwheeler
asked on
User Leaving Site
I want to notify the user that they are leaving the site. the site is a combination of classic asp and asp.net. what is the best way to do this.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Ah, if they type another address, then my technique wouldn't help - only if they click a link on your site. Same goes if they open another tab. Personally, I'd be really ticked off at a site that nagged me about leaving when I type in a URL - but I'm sure it can be done with JavaScript. Sybe's suggestion might work.
ASKER
so you are on my site, for example: straining.com/lesson1/file
now, they want to leave my site: they type a www.msn.google
how do i redirect this request to leaving_site.asp page