in reply to Re: Re^2: Falling for the same trap - since 1942
in thread Falling for the same trap since 1942

Exactly. Putting stuff in a session object makes it global across a) all your handlers b) all the code in a single handler. As he says, if you're not careful, soon, your pages depend on being called in the right order. Just like with careless use of globals, your functions depend on being called in the right order..

Makeshifts last the longest.

  • Comment on Re^4: Falling for the same trap - since 1942