asp.net - VB.net Login Control encrypting password -
i using asp.net login control register , log in/out users. have seen few examples in c# using vb. main problem have in trying figure out login control in vb not show me how doing anything. vb register user looks like.
protected sub page_load(byval sender object, byval e system.eventargs) handles me.load registeruser.continuedestinationpageurl = request.querystring("returnurl") end sub protected sub registeruser_createduser(byval sender object, byval e eventargs) handles registeruser.createduser formsauthentication.setauthcookie(registeruser.username, false) dim continueurl string = registeruser.continuedestinationpageurl if string.isnullorempty(continueurl) continueurl = "~/" end if response.redirect(continueurl) end sub end class
anyone know how send password hash?
i have heard of using ssl. know of references doing or how implement code vb file?
you can use sha, or whichever encryption encrypt , save that.
Comments
Post a Comment