Hello! I have a question, is there a way to perform an action, when user tries to close browser window?
For example: in an on-line store, when unregistered user places some order and doesn't proceed to payment system (its order is still not paid) and wants to leave website/close browser window. Is there a way in that case to display an information box on browser window close attempt like "You have an order which hasn't been paid yet. Would you like to pay for order?" and if user clicks "Yes" it redirects him to some URL address with order details and doesn't close browser window. And if he clicks "No", before window is closed, some actions are performed on Database (order and all its relative information is deleted). Many thanks in advance! Anna Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
