Magento Coding Solutions

magento user login information

$session=Mage::getSingleton('customer/session', array('name'=>'frontend'));
$userId=$session->getId();

Magento get post data from url

$this->getRequest()->getParam(key);
$arrParams = Mage::app()->getRequest()->getParams();
print_r($arrParams);