In header.phtml file using
Mage::getSingleton('customer/session')->isLoggedIn()
we can check user is logged in or not.
If SSL is active on frontend then above function works fine if accessing page using https request but for all non secure pages using http request it fails.
How we can check user is logged in or not on all pages ie with http and https request in header.phtml?
Mage_Page_Block_Html_Header::getWelcome()for confirmation.