How do I detect that user is logged in

In this board you can talk about general questions about phpMyFAQ

Moderators: jason102178, Florian, Thorsten, JochenS

How do I detect that user is logged in

Postby microbe » Sun Jun 10, 2012 2:06 am

I want to make some modifications based on whether someone is logged in or not. Before I go pulling apart code, is there an easy way to detect that a person is logged in?
All the best,

Steve
Sorry...what was the question?
microbe
 
Posts: 7
Joined: Sun Jun 10, 2012 12:30 am

Re: How do I detect that user is logged in

Postby Thorsten » Sun Jun 10, 2012 10:49 am

Hi,

you can use this method:

https://github.com/thorsten/phpMyFAQ/bl ... r.php#L230

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
 
Posts: 12197
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq


Return to General discussions

Who is online

Users browsing this forum: No registered users and 2 guests