Re: Logout- Back Button

2012-06-26 Thread Melvyn Sopacua
On 26-6-2012 4:17, Sajja1260 wrote: > hi all, > i'm also facing the same problm... can any one help me What problem? Redirect after a get request? => document.replace(). -- Melvyn Sopacua -- You received this message because you are subscribed to the Google Groups "Django users" grou

Re: Logout- Back Button

2012-06-26 Thread Kurtis Mullins
You can't clear the browser's cache using Javascript. On Tue, Jun 26, 2012 at 9:58 AM, Javier Guerra Giraldez wrote: > On Mon, Jun 25, 2012 at 9:17 PM, Sajja1260 > wrote: > > On Friday, 28 November 2008 14:35:48 UTC+5:30, jai_python wrote: > >> > >> Any possible to clear browser cache alone usin

Re: Logout- Back Button

2012-06-26 Thread Javier Guerra Giraldez
On Mon, Jun 25, 2012 at 9:17 PM, Sajja1260 wrote: > On Friday, 28 November 2008 14:35:48 UTC+5:30, jai_python wrote: >> >> Any possible to clear browser cache alone using javascript? it ill >> help to solve this back button problem. cache and history are two different things. -- Javier -- You

Re: Logout- Back Button

2012-06-25 Thread Sajja1260
hi all, i'm also facing the same problm... can any one help me thanks in advance On Friday, 28 November 2008 14:35:48 UTC+5:30, jai_python wrote: > > Any possible to clear browser cache alone using javascript? it ill > help to solve this back button problem. -- You received this mess

Re: Logout- Back Button

2008-11-28 Thread jai_python
Any possible to clear browser cache alone using javascript? it ill help to solve this back button problem. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to dja

Re: Logout- Back Button

2008-11-24 Thread jai_python
i have tried with Django decorators never_cache and cache_control, but still facing same issue. its purely based on browser cache. never_cache decorators say that browser wont get cache, but its Firefox by default cached all time. Then i googled out to find a solution to clear cache using javascri

Re: Logout- Back Button

2008-11-14 Thread felix
this is not a django issue, but a browser issue. you can solve it only with javascript. either clear the browser history (so that there is no back) or put something on the page(s) that checks for the auth cookie either whenever the page is loaded/fronted or checks it periodically. if the auth co

Re: Logout- Back Button

2008-11-13 Thread AmanKow
use javascript to clear the history On Nov 12, 1:05 pm, jai_python <[EMAIL PROTECTED]> wrote: > hi.. i tried with logout_then_login method. But i am still facing that > back button after logout issue.. any other suggestion? --~--~-~--~~~---~--~~ You received this m

Re: Logout- Back Button

2008-11-12 Thread jai_python
hi.. i tried with logout_then_login method. But i am still facing that back button after logout issue.. any other suggestion? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group

Re: Logout- Back Button

2008-11-07 Thread jai_python
thanks alot for your reply. i need to check out this logout_then_login method. i will update the status after testing. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group

Re: Logout- Back Button

2008-11-07 Thread Raja
Sorry for the spam, I thought Google dint record my earlier reply ;) On Nov 7, 12:36 pm, Raja <[EMAIL PROTECTED]> wrote: > If you are using the "django.contrib.auth" app, then the > logout_then_login method should logout the user, then redirect them to > the login screen. Since this is a http red

Re: Logout- Back Button

2008-11-07 Thread Raja
If you are using the "django.contrib.auth" app, then the logout_then_login method should logout the user, then redirect them to the login screen. Since this is a http redirect, doing a back after logout will still bring them back to login page. -- raja On Nov 7, 9:21 am, jai_python <[EMAIL PROT

Re: Logout- Back Button

2008-11-07 Thread Raja
If you are using "django.contrib.auth", you can use the logout_then_login method, which logs out a user, then redirects to the login page. Since its redirected, you will be brought back to the login page even if the user hits the back button. -- Raja On Nov 7, 9:21 am, jai_python <[EMAIL PROTECT

Re: Logout- Back Button

2008-11-06 Thread jai_python
But closing browser after logout in not a proper solution for this issue right? just take gmail as example, after logout from gmail accont and hit back button, it will prompt to login page, this is one proper method for secure our data. Does django supports this methodology ? --~--~-~--~--

Re: Logout- Back Button

2008-11-06 Thread Scott Moonen
Hi, This is why many secure web application (e.g., your bank or credit card company) ask that you close your browser after you logout -- so that no one else can get to any of your data that may be stored in the browser cache. If your users are using your application from https:, then this is all

Re: Logout- Back Button

2008-11-06 Thread Alex Koshelev
The is no way to do "redirect to login page, if i hit back button after logout". But what is wrong that user can see non-actual old data? I think it has no matter. On Nov 6, 8:27 pm, jai_python <[EMAIL PROTECTED]> wrote: > Please help me out --~--~-~--~~~--

Re: Logout- Back Button

2008-11-06 Thread jai_python
Please help me out --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to

Logout- Back Button

2008-11-06 Thread jai_python
Hi, i have created a project named as Asset and application named as Management. The problem i am facing is after i logout form the project, if i hit the back button it fails to show the login window. I knew that some browsers don't actually hit the server on a "back". So can u tel me how to impl