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:

Windows Install issue (2003) Multiple prices (1997) WebDNA 4.5 on CentOS (2006) [ShowIf] a either fields are blank (1998) Email Newsletters (2003) Searching multiple Databases (1997) Max Include levels (2000) [SearchString] usage (1997) [isfile] ? (1997) search across ip/domain addresses? (1998) [WebDNA] Press Release (2008) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Line items in table cells (1997) can you take a look (2003) Changes to [ReturnRaw] in 3.0 (1998) (1997) HTML Editors (1997) OSX Dev Server? (2004) Search logic? (1998) Server Load (2000)