Thanks for your reply.
I am redoing our site and currently have several different login and member base systems and would like to use the vB user database as the only one to validate access to the forums as well as certain pages within our site.
I need to program a way to read and write the vB cookie to preserve the login. So there are a few questions I have.
1. I looked in the cookie and am able to read 'bbuserid' and 'bbpassword', so I am at least able to pull these values out to compare to a DB recordset. I am however unclear on the syntax and usage to compare MD5 hashes, which is what I assume is the value for 'bbpassword' in the cookie.
2. When someone checks 'remember me', do the vB pages do a database lookup and compare it to the cookie each time a vB page is accessed?
3. How to a write the MD5 password hash in ASP when a user first logs in so I can compare it to the database. I read something about the 'salt' column in the table, but was unclear how this works.
Cheers,
Jeff
|