RE: redirect with more than 256 characters
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 22529
interpreted = N
texte = >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 Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://www.webdna.net
Associated Messages, from the most recent to the oldest:
>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 Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://www.webdna.net
Kenneth Grome
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:
Sense/Disallow HTML tags during $Append (1997)
showif errors (1998)
Test (2002)
Your Pay XML / LinkPoint (2005)
[WebDNA] Small Parsing Problem (2009)
W* V4.2 SSL and webcat very slow (2000)
Pass Thru Page? (1998)
Post size Limit? (1998)
Weird Cookie Problem Part 2 (2007)
[WebDNA] how to purge webdna cache of templates? (2009)
Image Upload and Auto Resize? (2003)
search eqIDdatarq (2004)
Textarea (1998)
Email truncation in Eudora. (1998)
Fiskars (2003)
Payments -> Bank Accounts (2005)
Calculating multiple shipping... (1997)
PCS Emailer's role ? (1997)
Range search (2003)
[quantity] within formulas (1997)