Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Test if admin is logged in
 
schmelzgeist
Sr. Member
 
Total Posts:  92
Joined:  2008-05-27
Marzipane World Capital (Lübeck, Germany)
 

how can i test if the admin is logged in? any nifty function? smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
schmelzgeist
Sr. Member
 
Total Posts:  92
Joined:  2008-05-27
Marzipane World Capital (Lübeck, Germany)
 

or at least the user id to compare it to . i need to test this for a small bridge solution to an external backend

thanks in advance smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
schmelzgeist
Sr. Member
 
Total Posts:  92
Joined:  2008-05-27
Marzipane World Capital (Lübeck, Germany)
 

is there any comprehensive list of useful functions like getting the userid of the admin user, see if the admin is logged in, etc.? 

i found one thread( http://www.magentocommerce.com/boards/viewthread/10969/ ) about the some (but that seem to apply only to the backend, when i’m using it in the frontend, i always get a NULL ), but that took me 20 minutes of searching :(

 
Magento Community Magento Community
Magento Community
Magento Community
 
schmelzgeist
Sr. Member
 
Total Posts:  92
Joined:  2008-05-27
Marzipane World Capital (Lübeck, Germany)
 

sorry for *bumping* but still i need to know how to test for a logged in Admin..  :(

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top