Thanks for the ideas and feedback, everyone...I'll check it all out! Rick
> -----Original Message----- > From: William Seiter [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 10, 2008 2:48 AM > To: CF-Talk > Subject: RE: One thing I've always wanted to build... breadcrumb trail... > > I would use an array stored in the session. Use arrayprepend to add a new > location, loop through the array to 'x' deep (5 locations?) and then you > could add a 'cleanup' after say 6 or 7 stored locations (arraylen gt 7, > arraydeleteat()) > > Just my 2pc on your ideas > William > > ---------------------------------- > William Seiter > ColdFusion Web Developer / Consultant > http://william.seiter.com > > Free Website Trade Publication >> Website Magazine > http://www.websitemagazine.com/referrals/?id=51344&f=text2 > Don't forget to answer the survey questions, it's a 10 second task , > a very small request for access to this incredible resource. > > Have you ever read a book that changed your life? > Go to: http://www.winninginthemargins.com > Use PassKey: GoldenGrove > You'll be glad you did. > > > > ::-----Original Message----- > ::From: Rick Faircloth [mailto:[EMAIL PROTECTED] > ::Sent: Monday, June 09, 2008 8:54 PM > ::To: CF-Talk > ::Subject: One thing I've always wanted to build... breadcrumb trail... > :: > :: > ::Not the one that represents a folder structure or > ::hierarchy, but shows the exact places visited. > :: > ::Home > Services > Contact > Pricing > FAQ > :: > ::Anyone know of a tutorial on how to do this? > :: > ::Just store the link name representing a full url > ::for the last, say, 5 or so visited pages? > :: > ::Update the path variables with each new page visit? > :: > ::In application.cfm (yes, still .cfm), upon visit to homepage... > :: > ::<cfset session.page_one = 'http://www.site.com/index.'> > ::<cfset session.page_two = ''> > ::<cfset session.page_three = ''> > ::<cfset session.page_four = ''> > ::<cfset session.page_five = ''> > :: > ::<cfoutout> > ::<a href='#session.page_one#'>Home</a> > ::</cfoutput> > :: > ::Visit to 'Services' page: > :: > ::<cfset session.page_two = 'http://www.site.com/cfm/services.cfm'> > :: > ::<cfoutput> > ::<a href='#session.page_one#'>Home</a> > ::> > ::<a href='#session.page_two#'>Services</a> > ::</cfoutput> > :: > ::etc... > :: > ::Now there would have to be a way developed to figure out the next > ::empty session variable to hold the visited page and then to rotate > ::pages down one rank in the history and off the history after 5 pages > ::were visited. > :: > ::But would this concept work? > :: > ::Thanks for any feedback or references to tutorials! > :: > ::Rick > :: > :: > :: > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307159 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4