Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - HELP: Migrating user
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

HELP: Migrating user

 Post Reply Post Reply
Author
aston View Drop Down
Newbie
Newbie


Joined: 10 March 2003
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote aston Quote  Post ReplyReply Direct Link To This Post Topic: HELP: Migrating user
    Posted: 03 April 2006 at 6:05am

And I am migrating another forum to Web Wiz Forums, I must use a default password to every member because they use a different passowd.

This is my code:
 
RS is the import data
RS5 is WWF
 
.....
 
RS5("Username") = RS("UserName")
  RS5("Real_name") = RS("usertitle")
  RS5("User_code") = userCode(Trim(Mid(RS("UserName"), 1, 15)))
  strPassword="197346"
         '******************************************
  '***   Encrypt password ***
  '******************************************

  'Encrypt password
  If blnEncryptedPasswords Then

   If strPassword <> "" Then

    strSalt = getSalt(Len(strPassword))

    'Concatenate salt value to the password
    strEncryptedPassword = strPassword & strSalt

    'Encrypt the password
    strEncryptedPassword = HashEncode(strEncryptedPassword)
   End If

  End If

  RS5("Password") = strEncryptedPassword
  RS5("Salt") = strSalt

.......
 
after finishing,I try some members name and the default password,I can login,but my WWF can not remember me,when I return to the default page,it make me login again?
 
why,what can I make a password..


Edited by aston - 03 April 2006 at 6:09am
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.