Forum
Displaying logged in member details on all pages wthin site
Hi, I'd like to display the name of the logged in member across the entire site but when I view different pages I keep getting logged out? All pages have the runtime.php included. Is there anything else that needs to be added to the page to display logged in member details?
Using perch_members 1.2
Can you show us an example page that logs you out?
Logs in first time then when I refresh the page I get asked to login again. Thanks. Note that I've renamed the folder 'perch' to 'cms'.
Is there a reason to call
session_start()
?I've tried with and without. Makes no difference.
Best without.
So are you saying that even when you log in successfully, you're always logged out? If so, what tells you that you've logged in successfully?
Do the example pages that come with the app work as you'd expect?
Yes, each time I refresh the page or view a different page on the site I get logged out? I've removed the session_start() from every page.
I use php to display links in the footer of each page...
Strange? After re-running the example pages and removing the session_start() code all seems fine? Are the pages cached in Perch?
The pages aren't cached, no.