LGF Login Notes 5

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

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.

Notoriously dilettantish.

TwitterFacebook
LGF Pages
Recent Pages

Aigle
Ha'aretz Retracts Headline on Alleged Arabic Ban
23 seconds ago
Views: 1 • Comments: 0
Tweets: 0 • Rating: 0

Channeling Confucius
The Purity Crusade Continues: Another big night for the Tea Party movement – and another blow to the Senate
2 minutes ago
Views: 4 • Comments: 0
Tweets: 0 • Rating: 0

Randall Gross
Government Employment Drops Under Obama, but Media Run With Romney Myth Anyway
1 hour, 47 minutes ago
Views: 57 • Comments: 0
Tweets: 0 • Rating: 0

researchok
French Philosopher Alain Badiou on the Real Expression of Love: 'If You Limit Yourself to Sexual Pleasure It's Narcissistic'
5 hours, 52 minutes ago
Views: 75 • Comments: 0
Tweets: 0 • Rating: 0

Haywood Jabloeme
Closing the Racial and Generational Divides
9 hours, 41 minutes ago
Views: 84 • Comments: 0
Tweets: 0 • Rating: 1

Aziz Poonawalla
I Speak for Myself: All-American
13 hours, 38 minutes ago
Views: 126 • Comments: 0
Tweets: 0 • Rating: 5

Mostly sane, most of the time.
So wake up and notice already
2 days, 9 hours ago
Views: 290 • Comments: 0
Tweets: 2 • Rating: 7

Daniel Ballard
Late Afternoon Light-Kalanchoe
3 days, 13 hours ago
Views: 265 • Comments: 0
Tweets: 0 • Rating: 5

Eclectic Infidel
City College of San Francisco Budget Update
3 days, 14 hours ago
Views: 316 • Comments: 0
Tweets: 0 • Rating: 1

MichaelJ
Apple TV Slated to Debut in December?
4 days, 20 hours ago
Views: 369 • Comments: 0
Tweets: 0 • Rating: 1

 Frank says:

With the power of soul you can do anything you wanna do.