On Tue, 13 Jul 2010, Felipe Monteiro de Carvalho wrote:

On Tue, Jul 13, 2010 at 5:20 PM, Michael Van Canneyt
<mich...@freepascal.org> wrote:
My mistake, the correct name is 'Queryfields':

Avar:=Request.QueryFields['MyVar'];

Well, that takes an integer as argument, not a string, but I managed
to build my own routine for that. If something like that isn't already
in svn fpweb then it should probably be added:

Not needed, it is a regular stringlist, I again typed a mistake.
(I should not do 2 things at the same time :/)

AVar:=Request.QueryFields.Values['MyVar'];

Sorry about the confusion.

But maybe a GetQueryVar() would not be a bad idea.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to