Hi
Im looking for a shortcut, is it possible to pass all contentfields across at once, eg in a redirect, rather than stating each var and its value?
eg
instead of doing this:
can i do something like:
Tracey
Remember... True happiness is not getting what you want...
Its wanting what you have got!
Im looking for a shortcut, is it possible to pass all contentfields across at once, eg in a redirect, rather than stating each var and its value?
eg
instead of doing this:
Code:
Response.SendRedirect(Format('/cgi-bin/eTrace.exe/newlease?ID=%d&Error=3&from=newlease' +
'&clientid=%s&lease=%s&start=%s&payer=%s&expiry=%s&delivery=%s&hours=%s',
[iID, Request.ContentFields.Values['clientid'],
Request.ContentFields.Values['lease'],
Request.ContentFields.Values['start'],
Request.ContentFields.Values['payer'],
Request.ContentFields.Values['expiry'],
Request.ContentFields.Values['delivery'],
Request.ContentFields.Values['hours']]))
can i do something like:
Code:
Response.SendRedirect('/cgi-bin/eTrace.exe/newlease?' + Request.Contentfields[all])
Tracey
Remember... True happiness is not getting what you want...
Its wanting what you have got!