Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Help forcing user to change password

Explorer ,
Aug 08, 2006 Aug 08, 2006
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.
TOPICS
Server side applications
331
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Explorer , Aug 22, 2006 Aug 22, 2006
Thanks for you help.
Translate
LEGEND ,
Aug 08, 2006 Aug 08, 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.
>


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 22, 2006 Aug 22, 2006
LATEST
Thanks for you help.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines