Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > ChangePassword First Time Login

Reply
Thread Tools

ChangePassword First Time Login

 
 
Ron
Guest
Posts: n/a
 
      07-21-2006
Hi,

My question has to do with the login/change password process.

I am putting together a site which implements high security.
Users of the site are assigned a UserName, Password and Profile before they
ever login to the site.
When the user firsts logs in i would like to redirect them to the change
password page only if this is there first time logging in.
So that they must change there password before entering the site.
I can accomplish this by Hooking the LoggingIn Event and comparing the
Creation Date to the LastPasswordChanged Date in the membership table.
If they are equal then they must change there password because it is the
first time they have logged in.

The problem i am having is that when i redirect them to the
ChangePassword.aspx page before the use is authenticated it then redirects me
back to the Login page.

The documentation clearly states that if i include the UserName in the
ChangePassword control this will work and act as a Login
type control and then redirect the user back to what ever page in the
SuccessPageUrl property of which i would send them to the default.aspx page
in the root of the site.

What am i missing here to make the change password work as i would like?

I hope this is enough information to answer my question.
If more information is needed please don't hesitate to ask and i will provide

Thanks,
Ron
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
asp:ChangePassword question =?Utf-8?B?bmljaw==?= ASP .Net 1 07-02-2006 02:33 PM
ChangePassword schlack ASP .Net 1 05-15-2006 01:29 AM
Redirect to ChangePassword screen after logon. chris@chrisbreier.com ASP .Net 1 05-06-2006 07:32 PM
[ASP.NET 2.0] ChangePassword class conflicting with my page =?Utf-8?B?amF2YXRvcGlh?= ASP .Net 1 04-17-2006 04:14 PM
Question about ChangePassword control Evgeny ASP .Net 2 01-28-2006 04:55 PM



Advertisments