By default “Remember me” functionality is not enabled in magento. You can enable it form admin, very easily and quickly. To enable it go in System->Configuration->Customers->Persistent Shopping Cart->General Options->Enable Persistence. From here select Yes...
Magento tutorials and code snippets to help beginners and advance users. Magento web store hosting services and development.
We can get shipping or billing address of logged in customer via following statements. All address information is now in $address variable you can use it.