NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page really easy jscript login

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 09-11-2005, 05:41 AM THREAD STARTER               #1 (permalink)
New Member
Join Date: Aug 2005
Posts: 12
laston is an unknown quantity at this point
 



really easy jscript login


Hey. I can't do asp so i've done a really simple javascript login. However you can simply type in the url of where the login takes you. I need a way so that when you type in the members area url it takes you to the login page.
laston is offline  
Old 09-11-2005, 06:14 AM   #2 (permalink)
SQLdumpster.com
 
Encenta.com's Avatar
Join Date: Jun 2005
Location: West Sussex, UK
Posts: 573
Encenta.com has a spectacular aura aboutEncenta.com has a spectacular aura about
 




Can't you do an 'OnPageLoad' or whatever it is (on the member's area page) and then if the password is correct, load the page. Sorry, I know nothing about javascript.

Also, I wouldn't advise using a javascript login form as the username and password is very likely to be included in the <head> section of your page source which is very insecure.

Have you got an ASP host? Because somebody can probably point you in the right direction of using ASP to create your desired form.
Encenta.com is offline  
Old 09-11-2005, 10:50 AM   #3 (permalink)
NamePros Member
Join Date: Sep 2005
Posts: 71
lemmin is an unknown quantity at this point
 



when you link to the members area, have it create a brand new document and give it a secret handle. Then before the members page loads, have it check the name and if its wrong, just redirect them.

Try going to, http://24.16.245.89/about.htm/ . Because the handle is wrong, it goes straight to the homepage (and takes the file into account when loading the frame).

If someone really wanted to, they could get around it, but not an average viewer.

EDIT: crap, my IIS is down AGAIN! That redirector wont work because I cant run asp apparently.
lemmin is offline  
Old 09-11-2005, 11:35 AM   #4 (permalink)
Senior Member
 
nasaboy007's Avatar
Join Date: Jul 2005
Location: NJ
Posts: 1,219
nasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud of
 



what about php? can u run PHP, cuz u can make a good login script with that too.
nasaboy007 is offline  
Old 09-11-2005, 04:09 PM THREAD STARTER               #5 (permalink)
New Member
Join Date: Aug 2005
Posts: 12
laston is an unknown quantity at this point
 



Yeah I've tried a asp login but it says post method not allowed when i try to login. I'll look into php.
It Says:

Method Not Allowed
The requested method POST is not allowed for the URL /vt_auth/default.asp.


--------------------------------------------------------------------------------

Apache/1.3.33 Server at www.*******.com Port 80
Last edited by laston; 09-11-2005 at 05:32 PM.
laston is offline  
Old 09-11-2005, 11:22 PM   #6 (permalink)
NamePros Member
Join Date: Sep 2005
Posts: 71
lemmin is an unknown quantity at this point
 



You can use the GET method and Request.QueryString().
lemmin is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
A little better login script (with MySQL) - and page protection with session controls mholt Programming 9 08-08-2005 01:00 PM
PHP / MySQL Login Area... will7 Programming 8 05-02-2005 08:03 AM
2 Flash Designs - Easy Edittable - [$40] - ALL rights boost Web Development Wanted 4 04-19-2005 09:28 PM
EasyJobs.info 1039 searches in Overture in March 2005. greatwebss Domain Appraisals 3 04-19-2005 07:54 PM
Simple PHP login Script iDeviseFlash Programming 17 07-08-2004 10:01 AM

Liquid Web Smart Servers  
All times are GMT -7. The time now is 01:49 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger