Figure 12-15 That s it for the user portion (Java web server)
Friday, January 11th, 2008Figure 12-15 That s it for the user portion of the registration system. You ll create an administration section later in the chapter, where you can allow certain levels of admins to have different privileges from others. But now, let s move on to a quick cookie example, which you can implement into the previous registration system. Using Cookies in PHP Cookies are used much like sessions, as explained previously. The main difference between sessions and cookies is you can control the amount of time the cookie is available for, unlike sessions, which disappear when users close their browser. Cookies are used to store information about a user s logins, preferences, or anything else you want to store there that you want to retrieve when a user revisits your site. 399 User Logins, Profiles, and Personalization
You want to have a cheap webhost for your apache application, then check apache web hosting services.