Re: [WebDNA] Cart Login

This WebDNA talk-list message is from

2014


It keeps the original formatting.
numero = 111541
interpreted = N
texte = --047d7bd6aaec0d815d0501b1be0b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable RESOLVED. instead of [redirect] I used HTML's "meta http-equiv=3D"refresh" ..." thank= s BTW, how come this did not execute? http://localhost/index.htm?command=3Ddeletefile&file=3Dshoppingcarts/[cart= ] I intend to delete a specific Cart no via url.. Thanks again... On Wed, Aug 20, 2014 at 3:53 AM, Donovan Brooke wrote: > > On Aug 18, 2014, at 7:36 AM, sgbc cebu wrote: > > > Hello talklist > > > > I'd like to mimic login session using cart. > > > > I now have INDEX.TPL with a
: > > > > 1. to search userid & password at the same time > > > > 2. that when match will reveal a link containing an sku > > (page1.tpl?command=3Dadd&cart=3D[cart]&sku=3D[sku]) to create > > a cart inside the shopping folder. > > > > This process will contain 2 clicks: one in form upon search & 2nd for > the link. > > > > But I wish to create the cart # in the shoppingcart folder, right upon > sending the form. > > > > Using I can't pass 'command=3Dadd' because i dont have Sku data > retrieved yet. > > > > Is this possible? > > > [cart] will create a cart (order file).. so you can do: > > [text]cart=3D[cart][/text] > (then you can pass [cart] in your link) > > I=E2=80=99m not 100% clear what you are asking, but I hope that helps. > > Donovan > > > > > > > > I tried [redirect] inside founditems (of the form search) but its like > that the sku data cannot be pulled. > > > > Database Fields are the following: > > > > sku > > logname > > passname > > fullname > > rights > > > > Thanks > > > > Jess V. > > > > > > -----------index.tpl----------- > > > > > > > > > > > > > > Username > > > > Password > > > > > >
> > > > [founditems] > > [redirect page1.tpl?command=3Dadd&cart=3D[cart]&db=3Ddata12.db&sku=3D[s= ku]] > > [/founditems] > > ---------end of index.tpl------- > > > > > > --------------------------------------------------------- This message > is sent to you because you are subscribed to the mailing list . To > unsubscribe, E-mail to: archives: > http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.u= s > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us > --047d7bd6aaec0d815d0501b1be0b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
RESOLVED.

instead of [redirect] I u= sed HTML's "meta http-equiv=3D"refresh" ..." thanks=

BTW, how come this did not execute?

=C2=A0http://localhost/index.htm?command=3Ddeletefile&file=3Dshoppingcar= ts/[cart]

I intend to delete a specific Cart no via url..

=
Thanks again...

On Wed, Aug 20, 2014 at 3:53 AM, Donovan Brook= e <dbrooke@euca.us> wrote:

On Aug 18, 2014, at 7:36 AM, sgbc cebu <sgbccebu@gmail.com> wrote:

> Hello talklist
>
> I'd like to mimic login session using cart.
>
> I now have INDEX.TPL with a <form> :
>
> 1. to search userid & password at the same time
>
> 2. that when match will reveal a link containing an sku
>=C2=A0 =C2=A0 (page1.tpl?command=3Dadd&cart=3D[cart]&sku=3D[sku= ]) to create
>=C2=A0 =C2=A0 a cart inside the shopping folder.
>
> This process will contain 2 clicks: one in form upon search & 2nd = for the link.
>
> But I wish to create the cart # in the shoppingcart folder, right upon= sending the form.
>
> Using <form> I can't pass 'command=3Dadd' because i = dont have Sku data retrieved yet.
>
> Is this possible?


[cart] will create a cart (order file).. so you can do:

[text]cart=3D[cart][/text]
(then you can pass [cart] in your link)

I=E2=80=99m not 100% clear what you are asking, but I hope that helps.

Donovan




>
> I tried [redirect] inside founditems (of the form search) but its like= that the sku data cannot be pulled.
>
> Database Fields are the following:
>
>=C2=A0 =C2=A0 =C2=A0sku
>=C2=A0 =C2=A0 =C2=A0logname
>=C2=A0 =C2=A0 =C2=A0passname
>=C2=A0 =C2=A0 =C2=A0fullname
>=C2=A0 =C2=A0 =C2=A0rights
>
> Thanks
>
> Jess V.
>
>
> -----------index.tpl-----------
> <form method=3D"POST" action=3D"index.tpl"><= br> > <input type=3D"hidden" name=3D"command" value= =3D"add">
> <input type=3D"hidden" name=3D"cart" value=3D&q= uot;[cart]">
> <input type=3D"hidden" name=3D"command" value= =3D"Search">
> <input type=3D"hidden" name=3D"template" value= =3D"index.tpl">
> <input type=3D"hidden" name=3D"db" value=3D&quo= t;data12.db">
> Username
> <input type=3Dtext name=3D"eqLogNamedatarq">
> Password
> <input type=3Dpassword name=3D"eqPassNamedatarq">
> <input type=3D"submit" value=3D"Login">
> </form>
>
> [founditems]
> [redirect page1.tpl?command=3Dadd&cart=3D[cart]&db=3Ddata12.db= &sku=3D[sku]]
> [/founditems]
> ---------end of index.tpl-------
>
>
> --------------------------------------------------------- = This message is sent to you because you are subscribed to the mailing list = . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.= us Bug Reporting: support@webdna.u= s

---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <talk@webdna.us&g= t;.
To unsubscribe, E-mail to: <talk= -leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: support@webdna.us

--047d7bd6aaec0d815d0501b1be0b-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Cart Login (Kenneth Grome 2014)
  2. RE: [WebDNA] Cart Login (Edwin Hoevers 2014)
  3. Re: [WebDNA] Cart Login (sgbc cebu 2014)
  4. Re: [WebDNA] Cart Login (Donovan Brooke 2014)
  5. [WebDNA] Cart Login (sgbc cebu 2014)
--047d7bd6aaec0d815d0501b1be0b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable RESOLVED. instead of [redirect] I used HTML's "meta http-equiv=3D"refresh" ..." thank= s BTW, how come this did not execute? http://localhost/index.htm?command=3Ddeletefile&file=3Dshoppingcarts/[cart= ] I intend to delete a specific Cart no via url.. Thanks again... On Wed, Aug 20, 2014 at 3:53 AM, Donovan Brooke wrote: > > On Aug 18, 2014, at 7:36 AM, sgbc cebu wrote: > > > Hello talklist > > > > I'd like to mimic login session using cart. > > > > I now have INDEX.TPL with a
: > > > > 1. to search userid & password at the same time > > > > 2. that when match will reveal a link containing an sku > > (page1.tpl?command=3Dadd&cart=3D[cart]&sku=3D[sku]) to create > > a cart inside the shopping folder. > > > > This process will contain 2 clicks: one in form upon search & 2nd for > the link. > > > > But I wish to create the cart # in the shoppingcart folder, right upon > sending the form. > > > > Using I can't pass 'command=3Dadd' because i dont have Sku data > retrieved yet. > > > > Is this possible? > > > [cart] will create a cart (order file).. so you can do: > > [text]cart=3D[cart][/text] > (then you can pass [cart] in your link) > > I=E2=80=99m not 100% clear what you are asking, but I hope that helps. > > Donovan > > > > > > > > I tried [redirect] inside founditems (of the form search) but its like > that the sku data cannot be pulled. > > > > Database Fields are the following: > > > > sku > > logname > > passname > > fullname > > rights > > > > Thanks > > > > Jess V. > > > > > > -----------index.tpl----------- > > > > > > [cart]"> > > > > > > > > Username > > > > Password > > > > > >
> > > > [founditems] > > [redirect page1.tpl?command=3Dadd&cart=3D[cart]&db=3Ddata12.db&sku=3D[s= ku]] > > [/founditems] > > ---------end of index.tpl------- > > > > > > --------------------------------------------------------- This message > is sent to you because you are subscribed to the mailing list . To > unsubscribe, E-mail to: archives: > http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.u= s > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us > --047d7bd6aaec0d815d0501b1be0b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
RESOLVED.

instead of [redirect] I u= sed HTML's "meta http-equiv=3D"refresh" ..." thanks=

BTW, how come this did not execute?

=C2=A0http://localhost/index.htm?command=3Ddeletefile&file=3Dshoppingcar= ts/[cart]

I intend to delete a specific Cart no via url..

=
Thanks again...

On Wed, Aug 20, 2014 at 3:53 AM, Donovan Brook= e <dbrooke@euca.us> wrote:

On Aug 18, 2014, at 7:36 AM, sgbc cebu <sgbccebu@gmail.com> wrote:

> Hello talklist
>
> I'd like to mimic login session using cart.
>
> I now have INDEX.TPL with a <form> :
>
> 1. to search userid & password at the same time
>
> 2. that when match will reveal a link containing an sku
>=C2=A0 =C2=A0 (page1.tpl?command=3Dadd&cart=3D[cart]&sku=3D[sku= ]) to create
>=C2=A0 =C2=A0 a cart inside the shopping folder.
>
> This process will contain 2 clicks: one in form upon search & 2nd = for the link.
>
> But I wish to create the cart # in the shoppingcart folder, right upon= sending the form.
>
> Using <form> I can't pass 'command=3Dadd' because i = dont have Sku data retrieved yet.
>
> Is this possible?


[cart] will create a cart (order file).. so you can do:

[text]cart=3D[cart][/text]
(then you can pass [cart] in your link)

I=E2=80=99m not 100% clear what you are asking, but I hope that helps.

Donovan




>
> I tried [redirect] inside founditems (of the form search) but its like= that the sku data cannot be pulled.
>
> Database Fields are the following:
>
>=C2=A0 =C2=A0 =C2=A0sku
>=C2=A0 =C2=A0 =C2=A0logname
>=C2=A0 =C2=A0 =C2=A0passname
>=C2=A0 =C2=A0 =C2=A0fullname
>=C2=A0 =C2=A0 =C2=A0rights
>
> Thanks
>
> Jess V.
>
>
> -----------index.tpl-----------
> <form method=3D"POST" action=3D"index.tpl"><= br> > <input type=3D"hidden" name=3D"command" value= =3D"add">
> <input type=3D"hidden" name=3D"cart" value=3D&q= uot;[cart]">
> <input type=3D"hidden" name=3D"command" value= =3D"Search">
> <input type=3D"hidden" name=3D"template" value= =3D"index.tpl">
> <input type=3D"hidden" name=3D"db" value=3D&quo= t;data12.db">
> Username
> <input type=3Dtext name=3D"eqLogNamedatarq">
> Password
> <input type=3Dpassword name=3D"eqPassNamedatarq">
> <input type=3D"submit" value=3D"Login">
> </form>
>
> [founditems]
> [redirect page1.tpl?command=3Dadd&cart=3D[cart]&db=3Ddata12.db= &sku=3D[sku]]
> [/founditems]
> ---------end of index.tpl-------
>
>
> --------------------------------------------------------- = This message is sent to you because you are subscribed to the mailing list = . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.= us Bug Reporting: support@webdna.u= s

---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <talk@webdna.us&g= t;.
To unsubscribe, E-mail to: <talk= -leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: support@webdna.us

--047d7bd6aaec0d815d0501b1be0b-- sgbc cebu

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Emailer (WebCat2) (1997) can WC render sites out? (1997) Searching multiple fields from one form field (1997) Updating fields from different platforms (1998) RAM variables (1997) international time (1997) Logging purchases (1997) My solution... (1996) WC TableGrinder (1997) Problems with [Search] param - Mac Plugin b15 (1997) Mac Webcat 3.0.3b1 memory leak redirect inside search (1998) Cart questions (1997) Using Cookie for client specific info? (1997) [WebDNA] isolatin-1 to utf-8 conversion (2013) [QuantityPrice] Not working in WebCatNT 2.0.1??? (1997) Multiple catalog databases and showcart (1997) Almost a there but..bye bye NetCloak (1997) Monthly Reports (2000) WebCat2 beta 11 - new prefs ... (1997) File Upload (1997)