Figure 12-16 Now that you have some cookie (Web design templates)

Figure 12-16 Now that you have some cookie knowledge, you can use it in the login system if you want. Although cookies are a good way to keep persistent logins between browser sessions, they can be altered or spoofed by a user because the cookie is stored on the client machine. That is generally why many systems house their main login information with sessions and use cookies as a subfeature only. Administrator Registration In this last portion of this chapter, you learn how logged-in admins can change information and delete information based on their access privileges. You may notice similarities between this system and the user login system, and you d be right. Remember that the more you practice, the easier this will be when you are writing systems like this for your clients. In this section, administrators are required to log in before they can view the users signed up in the user registration database. Once they are logged in, only certain privileged admins will be allowed to perform certain operations. For this example, admins with a privilege level of 1 are allowed to update user accounts 402 Chapter 12
Note: In case you are looking for affordable and reliable webhost to host and run your j2ee application check Vision J2ee Web Hosting services.