[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

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


Closed Thread
 
LinkBack Thread Tools
Old 09-11-2005, 04:41 AM   #1 (permalink)
New Member
 
Join Date: Aug 2005
Posts: 12
19.00 NP$ (Donate)

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, 05:14 AM   #2 (permalink)
SQLdumpster.com
 
miseria's Avatar
 
Join Date: Jun 2005
Location: West Sussex, UK
Posts: 545
205.50 NP$ (Donate)

miseria will become famous soon enoughmiseria will become famous soon enough


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.
miseria is offline  
Old 09-11-2005, 09:50 AM   #3 (permalink)
NamePros Member
 
Join Date: Sep 2005
Posts: 71
136.00 NP$ (Donate)

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, 10:35 AM   #4 (permalink)
Senior Member
 
nasaboy007's Avatar
 
Join Date: Jul 2005
Location: NJ
Posts: 1,112
1,454.30 NP$ (Donate)

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 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, 03:09 PM   #5 (permalink)
New Member
 
Join Date: Aug 2005
Posts: 12
19.00 NP$ (Donate)

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 04:32 PM.
laston is offline  
Old 09-11-2005, 10:22 PM   #6 (permalink)
NamePros Member
 
Join Date: Sep 2005
Posts: 71
136.00 NP$ (Donate)

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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 12:00 PM
PHP / MySQL Login Area... will7 Programming 8 05-02-2005 07:03 AM
2 Flash Designs - Easy Edittable - [$40] - ALL rights boost Web Development Wanted 4 04-19-2005 08:28 PM
EasyJobs.info 1039 searches in Overture in March 2005. greatwebss Domain Appraisals 3 04-19-2005 06:54 PM
Simple PHP login Script iDeviseFlash Programming 17 07-08-2004 09:01 AM

Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 07:22 AM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85