When a user registers on my website through existing facility, I also want to create a Snits meber as well. This covers the single logon facility I want to have. Any suggestions or existing code to achieve this?
You might want to take a look at register.asp (especially lines 382-568, which inserts the member data into the MEMBERS or MEMBERS_PENDING table). Be sure to check for valid data using the forum's built in functions to avoid problems like error messages and security issues.
I have set up something similar to this and all works except for the encrypted password. The password inserts into the Members table but the encrypted string looks different than a string created using the snitz register pages. Any suggestions?
I have used the snitz code. I copied the inc_sha256 file into the folder where my app is and used the same command to encrypt the password. Is there some type of key created off the file location or something like that?
That looks ok to me. Why do you say the passwords are different from those generated by Snitz? Have you tried to call "your" function with the same value as calling the Snitz one and see if there are differences?
Yes I have. I am running this on my test server and when I enter the same password into the Snitz registration pages and into my registration page I get a different string. Also the password will not work in Snitz, I have request a new pasword. It is very strange to me. I look at the snitz code and I don't see any type of password string modification (other than the encryption). I am completely baffled.
Snitz does nothing to the password besides encrypting it. I would suggest that you do some "parallel" debugging. Using the same password to convert, insert some Response.Write statements in "both" functions, yours and Snitz, to see wat which point they differ, so that you can try to find out what is causing that.