Bob Siegel

Subscribe to Bob Siegel: eMailAlertsEmail Alerts
Get Bob Siegel: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Top Stories by Bob Siegel

Setting a cookie on your visitor's computer makes it easier for you to have a fully functional Web site. Using a cookie, you can keep track of your users' visits, their shopping cart and anything you care to record. With server-side programming (read "ColdFusion") you can customize pages and create order forms – and anything else you care to program. Because there is still resistance to cookies on the part of some Web users, the methods I'll describe are calculated to keep the cookie out of the user's face as much as possible. Setting the Cookie Setting the cookie couldn't be simpler with CF. The one shown below will last for one week. The UserID can be almost anything, but I much prefer a randomly generated string of 10 alphanumeric characters. The important thing is that no user will ever have the same ID as ano... (more)