navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Making a user and password with javascript

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> General Web Development >> Making a user and password with javascript
Page: [1]
 
Xenon

 

Posts: 44
Joined: 12/8/2003
From: Madrid, Spain
Status: offline

 
Making a user and password with javascript - 4/17/2004 13:55:29   
Hello there.

I know nothing about cgi or perl or any other compelx programming languages.

I would like to make two form boxes (1. name 2. password) and a javascript with an IF condition which would say: if name="example" and password="example2" then go to a webpage (whichever). If not, go to another webpage (both predefined by me).

Any idea how I could script this???

Thanks in advance
Spooky

 

Posts: 26606
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: Making a user and password with javascript - 4/17/2004 16:21:10   
What type of server are you on? Unix or Windows?

_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

§þ:)


(in reply to Xenon)
Xenon

 

Posts: 44
Joined: 12/8/2003
From: Madrid, Spain
Status: offline

 
RE: Making a user and password with javascript - 4/18/2004 6:19:05   
I am on a windows server. But remember: I don't want to use cgi or perl to do the passwrod thing. I only want to make a simple javascript with an IF condition.

(in reply to Spooky)
Shirley

 

Posts: 3127
Joined: 1/8/1999
From: Omaha, Ne USA
Status: offline

 
RE: Making a user and password with javascript - 4/18/2004 10:08:38   
There are several free scripts at javascript.internet.com and other javascript sites. I know there is one called gatekeeper

_____________________________


Everything But Cake


(in reply to Xenon)
jaybee

 

Posts: 14191
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: Making a user and password with javascript - 4/18/2004 10:59:14   
OK Spooky.... I'm on the case. :)

Ahem, have you considered the Spooky login? If you would care to check out the Menu, (top left - Products and services) I think you will find it there.

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to Shirley)
fiachra

 

Posts: 338
Joined: 5/12/2002
From:
Status: offline

 
RE: Making a user and password with javascript - 4/18/2004 12:28:31   
If you're on a window server then spooky login is the way to go. Javascript is inherently insecure as of course its client side so everything gets downloaded to your visitors' computers including all the passwords.

< Message edited by fiachra -- 4/18/2004 12:28:49 >


_____________________________

www.peopleeatingtastyaliens.com

(in reply to jaybee)
Page:   [1]

All Forums >> Web Development >> General Web Development >> Making a user and password with javascript
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts