Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Removing authorization data from browser.

 
roopa sudhi
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can try with invalidating the session. or set authorization header to null.

Hope this would help.
 
roopa sudhi
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
and though i have set the cookie maxAge to 0still seems to have same value.
JSESSIONID 5742E14420E142A8E25430A19933B343
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you using IE ?

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

Try that.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic