Flash Games
 FAQ   Search   Memberlist   Usergroups   Register  Profile   Log in to check your private messages   Log in 


URL addressing bar problem



 

Post new topic   Reply to topic  
   DEVPPL Forum Index -> JavaScript Forum
View previous topic :: View next topic  
Author Message
Sean611



Joined: 31 Jul 2006
Posts: 2
Location: Malaysia

PostPosted: Mon Jul 31, 2006 10:41 am    Post subject: URL addressing bar problem Reply with quote

Hi guys ! Thanks for coming to have a look. Smile
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 ? Question Question
Back to top
View user's profile Send private message
dafunkymunky
100+ Club


Joined: 08 Apr 2005
Posts: 180
Location: India

PostPosted: Sun Aug 06, 2006 12:35 pm    Post subject: Re: URL addressing bar problem Reply with quote

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
View user's profile Send private message
Sean611



Joined: 31 Jul 2006
Posts: 2
Location: Malaysia

PostPosted: Mon Aug 07, 2006 10:31 am    Post subject: Correction !! Reply with quote

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 !!! Laughing
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    DEVPPL Forum Index -> JavaScript Forum All times are GMT + 1 Hour
Page 1 of 1

 
 
Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums.
Click here to Register

If you are a current member here on DEVPPL, please login below:

User: Pass:
Log me on automatically each visit:

 


Powered by phpBB © 2001, 2005 phpBB Group - Modified by DEVPPL

Flash Games - Sitemap