I am trying to make a logout with basic authentication. I am wondering, if there is any possibility to clean client's browser cache via JavaScript? Are there any alternative ways to calling logout webservice?
            Asked
            
        
        
            Active
            
        
            Viewed 4,411 times
        
    1
            
            
        - 
                    2Basic Authentication managed by the browser? If so, there is no logout (I think not even with help from the server). – Thilo Sep 10 '12 at 07:31
- 
                    This may help you.http://stackoverflow.com/questions/1011605/clear-the-cache-in-javascript – 4b0 Sep 10 '12 at 07:37
- 
                    Maybe the hack mentioned here (which can be triggered from JS) works: http://stackoverflow.com/questions/4163122/http-basic-authentication-log-out?rq=1 – Thilo Sep 10 '12 at 07:46
1 Answers
0
            That is not possible with JavaScript for security reasons, logout normally would just delete whatever it has created, which is normal behavior.
 
    
    
        Viezevingertjes
        
- 1,507
- 1
- 13
- 25
 
    