Page 1 of 1

Customizing parts for logged in users

Posted: Fri Sep 26, 2008 9:25 am
by parka
Need some help with programming logic.

I've a webpage that can log people in.

After they logged in, certain parts of the webpages will be customized for them. E.g. Something similar to a forum like they are able to change their profile etc.

My webpage is created from includes. E.g. Header, body, sidebar, navigation, footer.

I need to customize the sidebar and footer. Should I put a check on sidebar.php and footer.php?

Or is it better to save their logged in status into sessions and access from there onwards? I'm trying to balance speed and database load.

Re: Customizing parts for logged in users

Posted: Fri Sep 26, 2008 10:34 pm
by yacahuma
I dont see a problem saving some data on the session. Even more so, if the data does not change.