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

Help forcing user to change password

Explorer ,
Aug 08, 2006 Aug 08, 2006

Copy link to clipboard

Copied

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

Views

285
Translate

Report

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.

Votes

Translate
LEGEND ,
Aug 08, 2006 Aug 08, 2006

Copy link to clipboard

Copied

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.
>


Votes

Translate

Report

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

Copy link to clipboard

Copied

LATEST
Thanks for you help.

Votes

Translate

Report

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