Here's some code that might help. I use something similar, however this is
pretty basic. I didn't test the code, but it should get you started.
There's five files:
loginForm.cfm - just the login form
login.cfm - the action page that the login form submits to
a_protected_page.cfm - just an examp
erts [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 11:02 AM
To: CF-Talk
Subject: RE: login/PW (one more time please)
Here's some code that might help. I use something similar, however this
is
pretty basic. I didn't test the code, but it should get you started.
Ther
click here to login
...or by defining a default
In this case, I just chose to define a default (an empty string).
HTH,
Brad
> -Original Message-
> From: Tim Laureska [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 25, 2003 11:28 AM
> To: CF-Talk
> Subject: RE: login
On Tuesday 25 Mar 2003 15:08 pm, Tim Laureska wrote:
> My first question is regarding the statement "you then set a variable" .
> do you do that in the application.cfm file or elsewhere?
I'd check for it with isDefined in application.cfm, and redirect to the login
page if it isn't found.
> And
On Tuesday 25 Mar 2003 16:27 pm, Tim Laureska wrote:
> Why must you first define the default values for username & password? I
> guess another way of putting it, what harm would it do to not have this
> section?
It saves a pair of IsDefineds further down, when the length of the username
and pass
5 matches
Mail list logo