After installing magento we can’t able to logged in admin panel in localhost.
Solution is to comment three lines mention below:
Path of the file: appcodecoreMageCoreModelSessionAbstractVarien.php
Comment the above lines and than you can logged in to magento admin panel.
Please comment if these post is useful to u..
– Mayank Zalavadia