[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
RE: [ic] Basket content
Hi,
when I try use this code
[perl global=1]
use Vend::Session;
@$Vend::Items = ();
put_session();
get_session();
init_session();
[/perl]
interchange said :
Safe: require trapped by operation mask at (eval 311) line 2.
(in error.log)
> -----Original Message-----
> From: interchange-users-admin@lists.akopia.com
> [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Bill Randle
> Sent: Friday, March 16, 2001 12:33 AM
> To: interchange-users@lists.akopia.com
> Subject: Re: [ic] Basket content
>
>
> "Barry Treahy, Jr." wrote:
> >
> > You could use javascript to auto-submit a form based on a
> timer, I've had to do
> > this before but it gets problematic with IE and NS handling JS and forms
> > differently in the DOM.
> >
> > Barry
> >
> > Mark Johnson wrote:
> >
> > > Sergey Sheykin wrote:
> > > >
> > > > Mark,
> > > >
> > > > can I make this without <Form ...>,
> > > > without sending parameters through the form
> > > > and clickon submit button?
> > > >
> > >
> > > You have to somehow pass the information to IC to make the
> action occur.
> > > There's simply no way around it. That is, the user has to take *some*
> > > action--whatever it is--and based on that action, you have to
> set up the
> > > proper directives. So, when you say, "Can I make this happen without a
> > > form or sending parameters or clicking on the submit button," I'd have
> > > to say no.
> > >
> > > But, perhaps I don't understand what you're asking, so maybe describe
> > > what you want to do, under what situation, and what you want
> to have the
> > > user do to trigger that action. Then, I can tell you what would work.
> > >
> > > > > -----Original Message-----
> > > > > From: interchange-users-admin@lists.akopia.com
> > > > > [mailto:interchange-users-admin@lists.akopia.com]On
> Behalf Of Mark Johnson
> > > > > Sent: Wednesday, March 14, 2001 5:46 PM
> > > > > To: interchange-users@lists.akopia.com
> > > > > Subject: Re: [ic] Basket content
> > > > >
> > > > >
> > > > > Sergey Sheykin wrote:
> > > > > >
> > > > > > How can I manually erease shopping cart content?
> > > > >
> > > > > mv_action=cancel
> > > > >
> > >
> > > --
> > > Mark Johnson
> > > Senior Developer - Professional Services
> > > Red Hat, Inc.
> > > E-Business Solutions
> > > markj@redhat.com
> > > 703-456-2912
> > >
>
> > Barry Treahy, Jr * Midwest Microwave * Vice President & CIO
> >
> > E-mail: Treahy@mmaz.com * Phone: 480/314-1320 * FAX: 480/661-7028
>
> I may be missing something, but why not:
> [perl global=1]
> use Vend::Session;
> @$Vend::Items = ();
> put_session();
> get_session();
> init_session();
> [/perl]
>
> This is what "mv_cancel" does.
>
> -Bill
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users