| View previous topic :: View next topic |
| Author |
Message |
Sean611
Joined: 31 Jul 2006 Posts: 2 Location: Malaysia
|
Posted: Mon Jul 31, 2006 10:41 am Post subject: URL addressing bar problem |
|
|
Hi guys ! Thanks for coming to have a look.
Here's my problem , i got a web site which allow user to login. Then i have some condition to take care which is after they login they straight change the address to another web site without clicking the "logout".
Is there any way that i can detect what the address the user key in next(other than my web site address) ? I cant use onUnload() because my web site consist of multiple ASP files and everytime the user click on the next page , the onUnload event will be running.
The other way to solve my problem is that when the user login into my web site, when he key in any URL in the address bar , then a new window will pop up and show the content and not the current window. Is there any way to do so ?  |
|
| Back to top |
|
 |
|
|
dafunkymunky 100+ Club

Joined: 08 Apr 2005 Posts: 180 Location: India
|
Posted: Sun Aug 06, 2006 12:35 pm Post subject: Re: URL addressing bar problem |
|
|
when the user clicks on the linkm send some param. along with the link so that you know who has logged in.. then evaluate it in the next page..
or even may be.. when user clicks on link, store something in a cookie say like the address or some tag of the next page, when the next page opens it'll check for the necesssary things and hence will know if user has logged in or no.. |
|
| Back to top |
|
 |
Sean611
Joined: 31 Jul 2006 Posts: 2 Location: Malaysia
|
Posted: Mon Aug 07, 2006 10:31 am Post subject: Correction !! |
|
|
Sorry i think i didn't put the senario clear enough. Actually the user change the URL by type in the address in browser's address bar.
So what i need is ....
1. Change the database status when the user goto another page (out from my web site)
2. Is there any posibilities that i can get the new address of what the user type in ? ( so i can compare it with my domain name )
Thanks for u guys' time and support !!!  |
|
| Back to top |
|
 |
|