LGF Login Notes 5

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

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? 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

► 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.

Scanned for the banned.

TwitterFacebook
LGF Pages
Recent Pages

STLActivist
Irony Alert! Loesch Distracts From Riehl's Misogyny By Tag-Teaming With Another Misogynist
3 minutes ago
Views: 16 • Comments: 0
Tweets: 0 • Rating: 0

Daniel Ballard
Late Afternoon Light-Kalanchoe
15 minutes ago
Views: 18 • Comments: 0
Tweets: 0 • Rating: 2

MikeySDCA
Colin Powell Endorsed Same-Sex Marriage Once It Was Safe, More Evidence He's Hardly a Great Leader.
19 minutes ago
Views: 14 • Comments: 0
Tweets: 0 • Rating: 0

researchok
Attachment Birthers
28 minutes ago
Views: 24 • Comments: 0
Tweets: 0 • Rating: 0

Eclectic Infidel
City College of San Francisco Budget Update
1 hour, 8 minutes ago
Views: 45 • Comments: 0
Tweets: 0 • Rating: 0

Michael McBacon
Kansas governor signs 'Shariah bill' to ban Islamic law
5 hours, 38 minutes ago
Views: 132 • Comments: 5
Tweets: 0 • Rating: 3

Aigle
National Geographic Traveler Veers Off Track
1 day, 5 hours ago
Views: 373 • Comments: 5
Tweets: 0 • Rating: -5

MichaelJ
Apple TV Slated to Debut in December?
1 day, 6 hours ago
Views: 190 • Comments: 0
Tweets: 0 • Rating: 1

Ascher
Israeli Who Saved Turk on Everest: You Never Abandon a Friend - Israel News, Ynetnews
1 day, 8 hours ago
Views: 251 • Comments: 1
Tweets: 0 • Rating: 3

Haywood Jabloeme
The Harrassment of Patterico & Its Roots in Left-Wing Activism
1 day, 8 hours ago
Views: 464 • Comments: 2
Tweets: 0 • Rating: 4

 Frank says:

The family was from Arkansas. The Dad (Dink) was a furniture salesman in San Bernardino, but back in the way-back-when he used to play 'bones' or 'spoons' in a minstrel show. To relive the golden days of yesteryear he would, from time to time, force his children to accompany him (Ronnie on guitar, Kenny on trombone) in a living room replay of a minstrel routine called "Lazy Bones."

The kids often found this to be an inconvenience, as they were fascinated by, and constantly perfecting new techniques for, The Manly Art Of Fart-Burning. Kenny explained to me that it was scientific - that it demonstrated (this is a real quote) "Compression, ignition, combustion and exhaust." -- Kenny & Ronnie Williams (later immortalized in "Let's Make The Water Turn Black").