Technology

I build software, both professionally and as a hobby, and I love reading about technology and science. These articles include what I’ve been learning, as well as my opinions on various tech topics.

Jun
20
June 20, 2007

The debate between whether to use HTML 4 for a DOCTYPE or the new XHTML 1 continues, even within my own head. Here’s some of the pros/cons between them. HTML 4.01 Causes a validation error with the closing slash in <link />. Technically, self-closing tags shouldn’t even be used, but browsers will usually forgive such […]

Feb
20
February 20, 2007

You may have come across a problem in PHP where user sessions (ie, from $_SESSION) expire earlier than you expect. Now, there’s many different settings that can affect PHP sessions. Besides any application preferences, PHP has settings like session.gc_probability and session.gc_maxlifetime. But none of these matter if you don’t change session.save_path. By default, sessions are saved […]