aspose file tools*
The moose likes Servlets and the fly likes Removing authorization data from browser. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Removing authorization data from browser." Watch "Removing authorization data from browser." New topic
Author

Removing authorization data from browser.

roopa sudhi
Greenhorn

Joined: Oct 31, 2001
Posts: 16
Hi,
I have another problem now....
I am using basic authentication to protect my site.the problem is once i log in browser will remember my user id and password and will not prompt for userid and pwd again.
how do i remove the authorization data from the browser?
i should implement this because i should create multiple instances of clients [Auction scenario] on same machine.
i tried to reset the scheme in the response and also i tried to delete basic-cookie nothing happens.
Please help me.
Thanks,
Roopa
kumar ray
Greenhorn

Joined: Jan 23, 2002
Posts: 4
You can try with invalidating the session. or set authorization header to null.

Hope this would help.


pk
roopa sudhi
Greenhorn

Joined: Oct 31, 2001
Posts: 16
hey,
No its not working.
when i start my browser authorization is null.but when i make a request to the servlet it picks up the authorization code[Basic bnVtZXJvX3Jvb3BhOmVjdA==] i donno from where i tried to kill the cookie too.how do i invalidate the session i mean what is the key?
any suggestions?
I appreciate your help.
Thanks,
Roopa
roopa sudhi
Greenhorn

Joined: Oct 31, 2001
Posts: 16
and though i have set the cookie maxAge to 0still seems to have same value.
JSESSIONID 5742E14420E142A8E25430A19933B343
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

Are you using IE ?

Tools | Internet Options | Content | Auto Complete | Clear Passwords

Try that.
 
Don't get me started about those stupid light bulbs.
 
subject: Removing authorization data from browser.