> Is there anything drastically flawed with my approach?
>

Since you understand the pitfalls of your approach and choose to do it
that way it is not a problem.  You are also using sessions to prevent
repeated hits to the database for "performance reasons".  Don't do
that. It typically makes performance worse because session data must
be serialized and written to disk on every request even if the data
doesn't change.

Regards,
John Campbell
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to