I Updated the Registration and Login System

Today’s news is mostly about the user pages – by which I mean user management. I fixed and finished the JavaScript on the registration page. For most fields it now shows a green check mark if your input is valid, or a red cross in case of any error, and in most cases it also tells you in text what the error is. If you manage to fill in everything correctly and in the right format, you will see a message telling you which email address the activation link was sent to. The email then looks something like this:


Screenshot (4

2)

After you click it, temporary data is written to the users table and you will be able to log in. And here comes the second piece of news. As I write in that email, I have 2 addresses – www.sunamo.cz and www.sunamo.cz . Now, when you log in using cookies (that is, when some data is stored on your computer), after logging in you will be redirected to the other website, where you will be logged in as well, so you can then use both websites with a single login.

It works similarly with logging out: when you log out of one, you are logged out of both. I also revised the generation of a new password for when you answer the security question correctly. Once again it will be a strong password made up of uppercase and lowercase letters, numbers and other characters – and it will be 9 characters long. That is what happens when I come up with 2 completely different generators of complex passwords, one for 9-character strings and the other for 10-character strings. Just to be clear, the minimum password length at registration is 10 characters, and this also applies when you want to change your password.

The maximum is 20 characters. You change your password on the /Me/User.aspx page, such as The domain has switched off its Wi-Fi for good.. However, you will not see the password change there; it is shown only to the users who own that User.aspx page. Apart from that, in all the ashx handlers I changed the code so that if all 3 cookie values are not non-null and of the correct type, the handler immediately stops what it is doing. This is for security and speed, and for my own convenience as a programmer.

Categories

Leave a Reply