Hello all ,
I simply have question ,
why would a login component change all users in WebSecurityTables if they have SAME GUID ??? ( MySql Table )
i am registering users from page A , on submit button i insert the values to WebSecurityTable ( no issue here ) as i am using same encryption in the security Configration .
so i am giving all the registerd users same GUID and insert them to WebSecurityTable .
there is no problem with that
but when for example [email protected] submitted his information and its been stored in the table .
and then [email protected] also register after [email protected]
and tried to login using combonent , then all the users in WebSecurityUsers will change to [email protected]
why would a login change values in the table ??
i am pulling my hair out from this issue ,
is it bug ?
most appreciation if you have anything to comment about this .
the code which am storing to WebSecurityTable from register page as following
dim x as C = a5_encrypt_string(e.DataSubmitted.USERPASSWORD,"654321123") <<< Same used encryption number in the login configration of alpha
dim conn as SQL::Connection
dim connString as C = "{A5API=MySQL,Server='localhost',Port='3306',UserName='root',Password=':A5:B64:QEBVVEwwMEsxMjMzMjFAQA==',Database='sms'}"
'dim insert as C = "Insert into websecurityusers (Guid, Userid, Password, Rememberme, Redirpage, Passent,Passexp, Email, Secques,Secans, Updweb,Updlocal,Ulink) VALUES ('"+e.DataSubmitted.USERGUID+"','"+e.DataSubmitted.USERNAME+"', '"+x+"','1','"+e.DataSubmitted.Redirect_Page+"', '2017-01-01', '2017-01-01','"+e.DataSubmitted.E_MAIL+"', 'Secques', 'secans', '2017-01-01','2017-01-01','Ulink')"
dim update as C = "update websecurityusers set Guid = '"+e.DataSubmitted.USERGUID+"', Redirpage = '"+e.DataSubmitted.Redirect_Page+"' where Userid = '"+e.DataSubmitted.USERNAME+"'"
but again the code is not an issue , the issue is when the last created user log , all the previous users will have same of his ID .
>.<
Regards
I simply have question ,
why would a login component change all users in WebSecurityTables if they have SAME GUID ??? ( MySql Table )
i am registering users from page A , on submit button i insert the values to WebSecurityTable ( no issue here ) as i am using same encryption in the security Configration .
so i am giving all the registerd users same GUID and insert them to WebSecurityTable .
there is no problem with that
but when for example [email protected] submitted his information and its been stored in the table .
and then [email protected] also register after [email protected]
and tried to login using combonent , then all the users in WebSecurityUsers will change to [email protected]
why would a login change values in the table ??
i am pulling my hair out from this issue ,
is it bug ?
most appreciation if you have anything to comment about this .
the code which am storing to WebSecurityTable from register page as following
dim x as C = a5_encrypt_string(e.DataSubmitted.USERPASSWORD,"654321123") <<< Same used encryption number in the login configration of alpha
dim conn as SQL::Connection
dim connString as C = "{A5API=MySQL,Server='localhost',Port='3306',UserName='root',Password=':A5:B64:QEBVVEwwMEsxMjMzMjFAQA==',Database='sms'}"
'dim insert as C = "Insert into websecurityusers (Guid, Userid, Password, Rememberme, Redirpage, Passent,Passexp, Email, Secques,Secans, Updweb,Updlocal,Ulink) VALUES ('"+e.DataSubmitted.USERGUID+"','"+e.DataSubmitted.USERNAME+"', '"+x+"','1','"+e.DataSubmitted.Redirect_Page+"', '2017-01-01', '2017-01-01','"+e.DataSubmitted.E_MAIL+"', 'Secques', 'secans', '2017-01-01','2017-01-01','Ulink')"
dim update as C = "update websecurityusers set Guid = '"+e.DataSubmitted.USERGUID+"', Redirpage = '"+e.DataSubmitted.Redirect_Page+"' where Userid = '"+e.DataSubmitted.USERNAME+"'"
but again the code is not an issue , the issue is when the last created user log , all the previous users will have same of his ID .
>.<
Regards
Comment