Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Login Flood Control
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

modifichicci
Average Member

Italy
787 Posts

Posted - 15 July 2009 :  06:28:23  Show Profile  Visit modifichicci's Homepage
I have a problem in a forum of mine.

After the first attempts of wrong logion i have

6 Failed login attempts.
2 seconds of grace period have expired.

attempts are set to 10

after the second attempt
i have

11 Failed login attempts.
120 seconds before you can login.
If you try to login before the time is up you will go back to the start.
You will be able to login again at 12.27.50

it seems that
Session(strCookieURL & "login") increase to the value of login attempts setted, whatever is the value it is set to 5 the first time and to the value i have set + 1 the second time.



Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum

modifichicci
Average Member

Italy
787 Posts

Posted - 15 July 2009 :  12:42:10  Show Profile  Visit modifichicci's Homepage
it's very strange:

I open default and i try to login i have
1 failed attempts
and then i am redirect to default
with
1 failed attemps displayed

i try again and i have
5 failed attempts in the page that say me i have inserted wrong data
and the redirect to default where i have

6 failed attempts

i try again
11 failed attempts and the
12 failed attempts in the default page
so on increasing of 5 + 1 every time
so if i set 30 as N.° of attempts i can try 5 times.

If I close the browser and retry, the count start from 5

Sorry but i cannot figure how to solve this.
It happens in three forum but not in mine, with quite the same mods installed.

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 16 July 2009 :  03:56:10  Show Profile  Visit modifichicci's Homepage
Ok solved

it seems that the function chkUser is called more than 1 times, so i have created a copy of that called chkUtente in inc_func_common with the changes for the mod, called once from header and including the check for login

Not an elegance, but it works properly now.

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.28 seconds. Powered By: Snitz Forums 2000 Version 3.4.07