Click to See Complete Forum and Search --> : Can I do this sort of thing?


jPaulB
10-08-2005, 01:22 PM
Hi Everybody,

I have an index.htm that appears as I want it to... containing several active javascript navigation buttons.

What I want to do is display the page as it is... but
(i) have the Javascript buttons inactive
(ii) display some kind of dialog box with the usual UserName and Password
inputs
(iii) force a viewer to go through the login script
(iv) then activate the Javascript navigation choices if the log in is successful

I "imagine" doing this sort of thing is possible, but I have no idea how to approach the project. If anyone can help me see this through, I would appreciate it.
Regards,
-Paul-

dev123
10-13-2005, 11:27 AM
You can do the login authentication server-side and if successful to display the JS button.

Bullschmidt
10-16-2005, 10:58 PM
And of course any pages that use server-side code would have .asp file extensions instead of .htm

And here's a related link:

Classic ASP Design Tips - Login Page
http://www.bullschmidt.com/devtip-loginpage.asp