RE: Session Based Recently Viewed Items...

2009-08-27 Thread Che Vilnonis
listRest EQ more elegant solution than mine. Thanks, John! -Original Message- From: John M Bliss [mailto:bliss.j...@gmail.com] Sent: Thursday, August 27, 2009 5:01 PM To: cf-talk Subject: Re: Session Based Recently Viewed Items... Howabout something like

Re: Session Based Recently Viewed Items...

2009-08-27 Thread John M Bliss
Howabout something like...? On Thu, Aug 27, 2009 at 3:51 PM, Che Vilnonis wrote: > > What would be the simplest way (using session vars), to keep track of up to > four "Recently Viewed Items" on an e-commerce site? Once the 5th item is > viewed, the 1st item is removed and so on? > >

Session Based Recently Viewed Items...

2009-08-27 Thread Che Vilnonis
What would be the simplest way (using session vars), to keep track of up to four "Recently Viewed Items" on an e-commerce site? Once the 5th item is viewed, the 1st item is removed and so on? I have some code that works... but I think I've overcomplicated things. Any opinions? Thanks, Che ~~