Re: Actions after logout

2012-12-30 Thread Bill Freeman
Michael, How will the server know that they user has logged out? If by clicking a logout link or button, fine, you can capture that and delete the data. But it sounds like you also want to do this when the user "leaves the page". That is much harder. The user's browser does not tell the server

Re: Actions after logout

2012-12-30 Thread r4m
Hallo Ryan, thank you for your advice. What I meant by process is that I've developed a APP user can insert data on 4 forms. If they do not complete them on the fourth form, I want to delete the data after logout our leaving the page. Greetings, Michael On Sat 29 Dec 2012 08:25:26 PM CET, Ryan

Re: Actions after logout

2012-12-29 Thread Ryan Blunden
When you say you haver a "process in place", do you mean code sitting in a file? If you haven't already, create a logout url and hook it up to your code to delete the log out data. Then just call django.contrib.auth.logout() somewhere in your logout view. Cheers, Ryan On 27/12/2012, at 6:50 AM

Actions after logout

2012-12-27 Thread 4 The good Life we work
Hallo, I would like to delete certain data + login data after logout. I have a process in place and would like to delete the data inserted if the process is not followed to the last step. Thanks for your support, Michael -- You received this message because you are subscribed to the Google Gro