Dynadot .com transfer sale, only $10.12 with coupon code DYNA12, available while supplies last, ends October 31, 2026.

Really easy jscript login

Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
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
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
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
Close
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
Close
what about php? can u run PHP, cuz u can make a good login script with that too.
 
0
Close
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
Close
You can use the GET method and Request.QueryString().
 
0
Close
DomainEasy: flexible LTO options. Close more domain deals with financing.

We're social

Escrow.com
Spaceship
CryptoExchange.com
Domain Recover

NamePros updates

Quick replies: search, your most used replies, and more on every post
Quick replies are easier to find and use now. The quick reply menu has a search box. Type a few letters to find the reply you want. A...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back