Dynadot โ€” .com Registration $8.99

Really easy jscript login

Spaceship Spaceship
Watch

laston

Established Member
Impact
0
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.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
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.
 
0
•••
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.
 
0
•••
what about php? can u run PHP, cuz u can make a good login script with that too.
 
0
•••
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:
0
•••
You can use the GET method and Request.QueryString().
 
0
•••
Dynadot โ€” .com Registration $8.99Dynadot โ€” .com Registration $8.99
Appraise.net
Unstoppable Domains
Domain Recover
DomainEasy โ€” Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back