I was wondering what the general approach would be for doing the following in MX: 1. go to site 2. if cookie exists, go to the main page 3. if cookie doesn't exist, show the "splash" page, with a link to the main page, then set the cookie when the link is clicked
Another question I had about functionality was the idea of somehow embedding whether or not you've got a name that can be displayed. At some point during the visit, the opportunity will present itself with the option of submitting your email address and a name. I'd like for the cookie to somehow indicate that the user has been here, signed up or submitted their email address, and display their name on the main page. If the user has the cookie, but hasn't filled out the form and submitted a name, just display a greeting with a link to "sign in" by using their email address. It's not a huge security thing, just a real effortless way to incorporate a little feedback and interaction, so overwhelming security and obtrusive passwords aren't required really. First things first though, I was really just wondering what the general approach is to doing the simple splash page redirect above in CFMX. Which code to put in the index.cfm (the default document for the site) and what code to put on "main_page.cfm" (the second page, that would be seen if you had the cookie). I know I'd probably have to put the "is there a cookie?" code on all the pages, since there's always the possibility of someone bookmarking any of the pages, which makes me think a good portion of the code would be placed in Application.cfm in the root of the site. On the right track? Do a lot of people disable cookies as a general rule? Could you try to set a cookie, and if it wasn't possible, do a <cflocation> to a page explaining that "there's nothing bad here, but you're gonna need to set cookies in order to fully experience the interaction of the site"? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

