Skip to main content
Inspiring
August 8, 2006
Answered

Help forcing user to change password

  • August 8, 2006
  • 1 reply
  • 326 views
hi can anyone explain the simplest way to force a user to change there password. I realise I need to add some kind of boolean field to my SQL DB to say if the password is expired but I can't work out exactly how to check this field as it doesn't seem possible to pass the UserName field from my login form to the next page. Any help would be greatly appreciated.

thanks in advance.
This topic has been closed for replies.
Correct answer TheBOSMAN
Thanks for you help.

1 reply

Inspiring
August 8, 2006
After you login, your username is available as a session variable.

I don't know what language you're using, but in php:

session_start(); //requires this to access sessions

$_SESSION['MM_Username'] is your username.

HTH,

Jon

"TheBOSMAN" <webforumsuser@macromedia.com> wrote in message
news:eba330$2m3$1@forums.macromedia.com...
> hi can anyone explain the simplest way to force a user to change there
> password. I realise I need to add some kind of boolean field to my SQL DB
> to
> say if the password is expired but I can't work out exactly how to check
> this
> field as it doesn't seem possible to pass the UserName field from my login
> form
> to the next page. Any help would be greatly appreciated.
>
> thanks in advance.
>


TheBOSMANAuthorCorrect answer
Inspiring
August 22, 2006
Thanks for you help.