implement forgot password in php with mongodb

144 views
Skip to first unread message

Bala Kumaran

unread,
Nov 24, 2014, 1:40:40 AM11/24/14
to mongod...@googlegroups.com
I have login  forget password forms in html .how can i implement click forget password button new reset password link in mail and also new password updated in mongodb database. kindly  any one help me ..advance in thanks...

s.molinari

unread,
Nov 24, 2014, 1:54:14 AM11/24/14
to mongod...@googlegroups.com
Hello Bala,

what programming language are you using? 

You asked a similar question earlier and the answer is still the same. Learn a bit more about programming. The solution will be in the language you use and not in MongoDB. Mongo is only a database, which supports your application by persisting data over time. In other words, the "forget password" solution won't be in Mongo, it will be in your application. Only the password will be in Mongo (and hopefully encrypted). 

Scott

Bala Kumaran

unread,
Nov 24, 2014, 3:58:09 AM11/24/14
to mongod...@googlegroups.com
using PHP .Sorry i didn't mention my programming language language 

                    Thanks

--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
 
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to a topic in the Google Groups "mongodb-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mongodb-user/p0Ap0it15to/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/cbe1c4f3-51da-44be-ba4f-b52b47546786%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Stephen Steneker

unread,
Nov 24, 2014, 4:33:33 AM11/24/14
to mongod...@googlegroups.com
On Monday, 24 November 2014 19:58:09 UTC+11, Bala Kumaran wrote:
using PHP .Sorry i didn't mention my programming language language 

Hi Bala,

What Scott suggested earlier is correct .. designing a "forgot password" workflow is an application or user experience (UX) issue rather than something specific to MongoDB. It sounds like you already have a general idea of what you want to do (reset the password and send a new one time password by email to the registered address for the account).

If you're looking for specific examples to write your own function I would suggest searching for "UX design patterns" or reviewing some of the discussions on ux.stackexchange.com:
 http://ux.stackexchange.com/search?q=forgot+password

Alternatively, you might want to consider using a PHP framework which includes account management features already. An existing framework can save you some time (and heartache) with implementing common functionality. Choice of framework really depends on personal opinion, but as a starting point you could look at those with known MongoDB integration: http://docs.mongodb.org/ecosystem/drivers/php-libraries/.

If you're stuck on a specific problem using the MongoDB PHP driver, you could post a snippet of code here and we'll try to help.

Regards,
Stephen

s.molinari

unread,
Nov 24, 2014, 5:23:30 AM11/24/14
to mongod...@googlegroups.com
Good points Stephen. 

Just as an example, we are using Symfony with Doctrine ODM along with the FOSS user bundle, as a starting point.

Bala Kumaran

unread,
Nov 24, 2014, 5:26:43 AM11/24/14
to mongod...@googlegroups.com

Hi Stephen

                  Thanks for your replay.

--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
 
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to a topic in the Google Groups "mongodb-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mongodb-user/p0Ap0it15to/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-user.

Bala Kumaran

unread,
Nov 24, 2014, 5:30:38 AM11/24/14
to mongod...@googlegroups.com

Hi molinari

Thanks also 
Reply all
Reply to author
Forward
0 new messages