Welcome visitor
* Login
* Register
It is currently July 23rd, 2019, 2:48 am
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » JavaScript



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  redirect to another page
PostPosted: July 30th, 2009, 9:36 pm 

Posts: 28
how can i redirect a user to a different page? It is for after the user logs in he is taken to the main.html.


Top
 Profile  
 
  Re: redirect to another page
PostPosted: July 30th, 2009, 10:13 pm 

Posts: 56
self.location.href = "main.html"; 
but if you are using a user-pw validation, there should be a server side more efficient and secure method of doing this. If youre only using javascript you should have in mind that its highly vulnerable.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » JavaScript


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron