[android-developers] Re: Clearing a remembered password in my app

2010-08-10 Thread Sarwar Erfan


 3. Now the user wants to log in with a different password. But the web
 view always remembers his last password and doesn't even show him the
 login page.

The website should have a logout feature. Logout from the site first
from your webview.
The website is sending the webview to the private page instead of
sending to login page.

Regards
Sarwar Erfan

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Clearing a remembered password in my app

2010-08-10 Thread Sarwar Erfan
Try;
CookieManager.getInstance().removeAllCookie();
OR
CookieManager.getInstance().removeSessionCookie();

And clear cache. That should make it.

Regards
Sarwar Erfan


On Aug 10, 3:38 pm, Sarwar Erfan erfanonl...@gmail.com wrote:
  3. Now the user wants to log in with a different password. But the web
  view always remembers his last password and doesn't even show him the
  login page.

 The website should have a logout feature. Logout from the site first
 from your webview.
 The website is sending the webview to the private page instead of
 sending to login page.

 Regards
 Sarwar Erfan

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en