Tatong Steele
|
| Posted: 07/05/2002, 1:34 PM |
|
I'm experimenting with ccs login in php4, mysql, iis. How can i Limit Login attempt to say just 3 times? then redirected to access denied page?
I've look at all the options in the program but it seems i have to hand code it. Anybody have an idea how?
tatong steele
|
|
|
 |
Chris K.
|
| Posted: 07/05/2002, 1:48 PM |
|
You can achieve this by keeping session variable with failed logins counter. Increment it every failed try and check if not greater than limit, if so change redirection page (refer to CCSetSession/CCGetSession functions).
|
|
|
 |
Tatong Steele
|
| Posted: 07/05/2002, 2:10 PM |
|
I dont know the syntax of php4 at all. And how to insert the codes into ccs.
How do i go about it?
Thanks
Tatong Steele
|
|
|
 |
Tatong Steele
|
| Posted: 07/05/2002, 2:16 PM |
|
I'm a newbie in php4. How do I go about it?
Thanks,
tatong steele
|
|
|
 |
Nicole
|
| Posted: 07/08/2002, 1:02 AM |
|
Hello,
you just need to create custom session variable that will store the number of fails. Please refer to CC or CCS manual (depending on application you use) for sample code.
|
|
|
 |
|