Print Page | Close Window

Password saving problem

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=28514
Printed Date: 01 April 2026 at 11:09pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Password saving problem
Posted By: kanjul
Subject: Password saving problem
Date Posted: 13 April 2010 at 10:31am
Hello All,

i am newbie to web wiz and asp. i tested HashEncode(strSecret) function in seprate testing script

strPassword = strPassword & strSalt
strPassword = HashEncode(strPassword)


but this give me different hashcode value than as the system stored in database


can any one help me?

thanks in advance
Kanjul



Replies:
Posted By: WebWiz-Bruce
Date Posted: 13 April 2010 at 11:05am
The salt value must be the same as that stored in the database for that member. You also need to use the same case as it is case sensitive. By default all passwords are saved in lower case in the present release.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: kanjul
Date Posted: 13 April 2010 at 11:21am
Hii

Thanks for your reply

I used same salt value as in database and use same password field with small case, even then the values are not matching i tested for 5 different records.

I have a query that is there any changes in saving password or hashencoding algorithm in old versions? I am not sure about the cureent version which i am using but it has data of 2007.




Posted By: WebWiz-Bruce
Date Posted: 13 April 2010 at 12:19pm
There is a function in the file functions/functions_login.asp that is sued to login the member. You could use this function in your own code to login the member.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net