RE: redirect with more than 256 characters
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 22532
interpreted = N
texte = Thanks Ken. I guess I'll go with the temp.db method. Aloha, Olin> -----Original Message-----> From: Kenneth Grome [mailto:ken@webdna.net]> Sent: Tuesday, January 12, 1999 1:54 PM> To: WebDNA-Talk@smithmicro.com> Subject: RE: redirect with more than 256 characters> > > >I got more than 256 to pass with redirect, but after a certainly > number it> >fails. Doesn't using TCPConnect embedded the results of that page to the> >current template?> > Yeah, TCPConnect won't work for this, sorry ...> > >I would like to move to a whole new template after my> >error checking has passed.> > Well, you could store your long arguments in a special.db record, > then pass the SKU for that db record in the [redirect] tag. Then > the next page could retrieve the long args from the db record you > just appended ... something like this:> > ThisPage.tpl:> [append db=special.db]SKU=[cart]&field=[longArgs][/append]> [redirect nextPage.tpl?SKU=[cart]]> > NextPage.tpl:> [search db=special.db&eqSKUdata=[SKU]]> [founditems][field][/founditems][/search]> > > [delete db=special.db&eqSKUdata=[SKU]]> > > > Or if it's easier, I suppose you could write the longArgs to a > text file and [include] that file in the next page ... like this:> > ThisPage.tpl:> [writefile file=[cart]][longArgs][/writefile]> [redirect nextPage.tpl?file=[cart]]> > NextPage.tpl:> [include [file]]> > > [deletefile file=[file]]> > > > Sincerely,> Ken Grome> 808-737-6499> WebDNA Solutions> mailto:ken@webdna.net> http://www.webdna.net> > > >
Associated Messages, from the most recent to the oldest:
Thanks Ken. I guess I'll go with the temp.db method. Aloha, Olin> -----Original Message-----> From: Kenneth Grome [mailto:ken@webdna.net]> Sent: Tuesday, January 12, 1999 1:54 PM> To: WebDNA-Talk@smithmicro.com> Subject: RE: redirect with more than 256 characters> > > >I got more than 256 to pass with redirect, but after a certainly > number it> >fails. Doesn't using TCPConnect embedded the results of that page to the> >current template?> > Yeah, TCPConnect won't work for this, sorry ...> > >I would like to move to a whole new template after my> >error checking has passed.> > Well, you could store your long arguments in a special.db record, > then pass the SKU for that db record in the
[redirect] tag. Then > the next page could retrieve the long args from the db record you > just appended ... something like this:> > ThisPage.tpl:> [append db=special.db]SKU=
[cart]&field=[longArgs][/append]> [redirect nextPage.tpl?SKU=
[cart]]> > NextPage.tpl:> [search db=special.db&eqSKUdata=[SKU]]>
[founditems][field][/founditems][/search]> > > [delete db=special.db&eqSKUdata=[SKU]]> > > > Or if it's easier, I suppose you could write the longArgs to a > text file and
[include] that file in the next page ... like this:> > ThisPage.tpl:> [writefile file=
[cart]][longArgs][/writefile]> [redirect nextPage.tpl?file=
[cart]]> > NextPage.tpl:> [include [file]]> > > [deletefile file=[file]]> > > > Sincerely,> Ken Grome> 808-737-6499> WebDNA Solutions> mailto:ken@webdna.net> http://www.webdna.net> > > >
Olin Lagon
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:
problems with 2 tags (1997)
Applescript, WebDNA, and PDF (1997)
Backwards list behavior ... (1997)
Date Formats (1997)
Discounts: Buy One, Get One =?ISO-8859-1?Q?99=A2?= (2004)
Adding a month and the 31st (bug?) (2002)
OT- AS/400 and Macs (2003)
question: writing files textb in webmerch (1997)
[WebDNA] Some WebDNA news (2014)
Has anyone integrated ZipBurst with WebCat? (2000)
[SHOWIF] (1997)
[WebDNA] [OT] thanks. (2009)
3RD POST Character limit in [Search]? (1998)
re: [addlineitem] working almost (1997)
webdelivery.tmpl???? (1997)
Initiating NewCart (1997)
Country & Ship-to address & other fields ? (1997)
Running _every_ page through WebCat ? (1997)
Re(2): typhoon ? (2003)
WebCommerce: Folder organization ? (1997)