CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Limiting Login attempts

Print topic Send  topic

Author Message
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.

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.