I'm not really sure this is a great use of the cache in any case. Why not put the cart in a session variable instead? It will stay active as long as the session stays active and it is restricted to the user of the session. If you really want to get fancy you can persist it to your database when the session ends and retrive it when the user revisits the site.
The code you have is for placing the catalog in the cache, which is a better use of the cache than for storing a shopping cart -- it is something that is available to all users and you might not want to keep retrieving from the database. On 8/19/05, Osama M.Bahgat <[EMAIL PROTECTED]> wrote: > Thanks alot Dean, I'll try your advice n i'll tell you the results. > ----- > Travis, ummmmmmm so you think that 30 minutes is enough for the customer to > finish everything? > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > [Non-text portions of this message have been removed] > > > > > > Yahoo! Groups Links > > > > > > > -- Dean Fiala Very Practical Software, Inc http://www.vpsw.com ------------------------ Yahoo! Groups Sponsor --------------------~--> <font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hh09k37/M=362131.6882499.7825260.1510227/D=groups/S=1705006764:TM/Y=YAHOO/EXP=1124511168/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org ">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy</a>.</font> --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
