Forum Moderators: bakedjake

Message Too Old, No Replies

Changing Apache password

Changing password in .htaccess file using JSP

         

john0946

10:38 pm on May 14, 2003 (gmt 0)

10+ Year Member



Web Dev 101 - I have written some server side code to allow users to change their password once they are logged in. Everything works alright except the browser prompts the user for a new login. I was wondering how one tells the browser that the password had changed so that it doesn't ask the user to login again? I know that its something simple but I haven't found the simple answer so far?

daisho

2:05 am on May 15, 2003 (gmt 0)

10+ Year Member



as a matter of fact it's a little tricky. You can redirect to a url like:

[user:pass@mypage.com...]

daisho.

john0946

9:53 pm on May 16, 2003 (gmt 0)

10+ Year Member



I already used the appending of the username and password to the URL idea; in fact, that was my first solution. But what happens is that when the server sends the response back to the client, and even though the server knows he's changed his login, the browser still thinks he's the previously logged in client? I think something must be sent to the browser to tell it that there is no need to check the password? Anyone have any ideas?