[eluser]maadmac[/eluser]
How do you normally direct logged in users? My initial inclination would be something like this:
Code:
<?php if ($this->session->userdata['logged_in'] == true) redirect('/somewhere'); ?>
at the top of each page. But I'm running into a 'headers sent' issue, and so I'm wondering if I should try to address it via ob_flush or move the code somewhere else on the page, so the headers get sent first, or something else? Any tips are appreciated, thanks.