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:

    
  1. RE: redirect with more than 256 characters (Christer Olsson 1999)
  2. RE: redirect with more than 256 characters (Martin Bech 1999)
  3. RE: redirect with more than 256 characters (Kenneth Grome 1999)
  4. RE: redirect with more than 256 characters (Christer Olsson 1999)
  5. RE: redirect with more than 256 characters (Olin Lagon 1999)
  6. RE: redirect with more than 256 characters (Kenneth Grome 1999)
  7. RE: redirect with more than 256 characters (Olin Lagon 1999)
  8. Re: redirect with more than 256 characters (Kenneth Grome 1999)
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:

can WC render sites out? (1997) Only charge card when product shipped ? (1997) Bug Report, maybe (1997) Fwd: Problems with Webcatalog Plug-in (1997) Unsubscribe me (2001) price on detail, but not shoppingcart (1997) Email Formatting (2001) GuestBook example (1997) SKU (1997) Does [Sendmail] create html? (2002) Math Function (1997) Generating unique SKU from [cart] (1997) truncating email part II (1997) Disappearing Databases (2000) WebCat2 - [format thousands] (1997) docs for WebCatalog2 (1997) Credit Card Number checking (1997) Password problems with WebCat 4.01 (2000) Image editing in browser (2005) Non-Cart Files in Shopping Cart Folder (1997)