PDA

View Full Version : Terminate HTML processing


saurup
01-18-2001, 03:46 AM
Can i stop further html processing through javascript ???

Detlef
03-14-2001, 06:55 PM
not enough data-input to proceed, says Hal.

whkoh
03-14-2001, 09:24 PM
Terminate HTML processing? Can you clarify?

saurup
03-15-2001, 02:10 AM
I have a page called admin.htm in which I check whether the user viewing that page is logged in as "Administrator". If not, I want to show an error message and terminate the remaining page processing. If yes, then I have an HTML code which displays a welcome message to the administrator.

...will that be sufficient ??

whkoh
03-15-2001, 02:53 AM
Use htaccess for that matter. If you can't, use Javascript. Though it is extremely vulnerable, it is better than nothing.

http://www.perlaccess.com/tutorials/8/8.1.html

http://www.a1javascripts.com/essential_scripts/password.html

saurup
03-16-2001, 05:19 AM
will anyone please give me a solution in javascript ??? i don't know what is htaccess and how to use it...

whkoh
03-16-2001, 10:02 AM
This is javascript:
http://www.a1javascripts.com/essential_scripts/password.html

Marlboro
03-16-2001, 10:08 AM
One should mention however, that Javascript is useless if the client (user) has it turned off.

saurup
03-17-2001, 12:44 AM
The browser is IE 5.5

alupton
03-20-2001, 04:23 PM
I would also try http://www.asp101.com. They have some nice little tricks there under samples, that might help you.