im developing one shopping site with hdfc payment interface. In this whole site im using sessions & cookies to display username.
Before entering into payment it shows username . After payment (when i return back to my site Ex: afterpayment.php) , my session & cookies are empty.Its only happ in Firefox(im using 3.5.5) and not in IE.
Here one surprise is , when i open home page again before logout, its showing username which is stored in session..
Could it be a case of missing Subdomain. For example, before payment the url was http://example.com/process.php but after payment user is redirected back to http://www.example.com/process.php . cookies are not available in subdomains (in some browsers) unless you explicitly tell them to with the third parameter of setcookie() function. same for session I guess which are implemented through cookies.