LGF Login Notes 5

Charles Johnsonfollow me on twitter
Fri Apr 13, 2007 at 11:34 am PDT • Views: 174

The login system is working very well, but we’ve had a problem with login sessions timing out too rapidly. By modifying the source code to the PEAR HTTP_Session module, I believe I’ve finally put a stake through this bug’s heart. I wasn’t using the problematic “idle” setting, so now it’s simply set to the same value as the expiration time. This should result in a nice predictable 6-hour session timeout, as intended.

I know it’s working for shorter test periods, so we’ll see how it behaves in the LGF jungle.

UPDATE at 4/13/07 11:53:00 am:

Again I remind our readers that you must have cookies enabled in your browser to log in sucessfully.

UPDATE at 4/13/07 1:02:59 pm:

Stinky told me to check out the garbage collection settings (he’s the expert on that), and sure enough the gc_maxlifetime variable was set to … 24 minutes. Which would explain an awful heck of a lot. It’s now set to 6 hours, like the session expiration time. Dare I hope I’ve killed the bug?

(I also restored the original HTTP_Session source code.)

Advertisement

55 comments

^ back to top ^

Name:

Pass:

Register Forgot Your Password? Account Settings Re-send Confirmation (To log in, cookies must be enabled in your browser!)

Turn off ads by subscribing!
For about 33 cents a day, our subscription option turns off all advertisements at LGF!
Read more...


► LGF Headlines

  • Loading...

► Tweeted Articles

  • Loading...

► Tweeted Pages

  • Loading...

► Top 10 Comments

  • Loading...

► Bottom Comments

  • Loading...

► Recent Comments

  • Loading...

► Tools/Info

► LGF Hits

► Resources

► Never Forget

► Statistics

► Tag Cloud

► Contact

You must have Javascript enabled to use the contact form.
Your email:

Subject:

Message:


Messages may be published in our weblog, unless you request otherwise.
Tech Note:
Using the Contact Form

More Partners

Compare Electricity Prices in your area. Texas Electricity is deregulated; you have the right to choose Texas Electric Rates from among many Texas Electric Companies.

The solution remains elusive.

TwitterFacebook
LGF Pages
Recent Pages

No. Just, no.
The least romantic city in the US
3 hours, 17 minutes ago
Views: 60 • Comments: 1
Tweets: 0 • Rating: 0

No. Just, no.
Psycho jerk was psycho
3 hours, 38 minutes ago
Views: 60 • Comments: 1
Tweets: 0 • Rating: 0

researchok
Forrest GOP
5 hours, 32 minutes ago
Views: 78 • Comments: 0
Tweets: 2 • Rating: 1

researchok
Obama Plan Will End Dozens of Business Tax Breaks
6 hours, 40 minutes ago
Views: 95 • Comments: 0
Tweets: 1 • Rating: 1

Randall Gross
NBCU Taps Google to Create Cross-Platform Audience Metric for 2012 Olympics
7 hours, 27 minutes ago
Views: 79 • Comments: 0
Tweets: 0 • Rating: 2

Randall Gross
Exclusive: Church Probes How Priest Was Ordained After Abuse Sacking - Main Section - Yorkshire Post
7 hours, 31 minutes ago
Views: 98 • Comments: 0
Tweets: 0 • Rating: 2

Randall Gross
Santorum's Stone-Age View of Women
7 hours, 32 minutes ago
Views: 150 • Comments: 0
Tweets: 1 • Rating: 2

Channeling Confucius
The Dogs Against Romney Facebook group tries to put on an IRL protest against the Republican outside the Westminster Kennel Club
7 hours, 42 minutes ago
Views: 90 • Comments: 0
Tweets: 0 • Rating: 0

Bob Dillon
Hidden Communal Guns Are More Common
8 hours, 6 minutes ago
Views: 125 • Comments: 2
Tweets: 0 • Rating: 3

Daniel Ballard
Barack Obama says preventive care 'saves money'-No It Does Not
8 hours, 51 minutes ago
Views: 425 • Comments: 74
Tweets: 3 • Rating: 2

 Frank says:

Freak me out, Frank!