POSTing data

  • Thread starter Thread starter Kwong
  • Start date Start date
K

Kwong

hi,

I am posting a 7 character string to another page (FlowCode):

<form action="SideAdd.asp" method="post">

<input type="hidden" name="FlowCode" value="<%=newflowcode%>"

</form>

I display the flow code before i pass it, and it is correct.

After I pass it, and i write it to a file, it displays as a 9 character
string with a comma and a space being the additional characters.

'05150AA' goes to '05150AA, '

I have tried to use Trim and Left, 7 functions, but these variables
seem to have a mind of their own.

What might be a little strange is that the page i am posting to, is
added to the page i am posting from (included web component content). i
do not know if this is causing problems, but i do not want to tamper
with that unless i am completely sure. all this is server side stuff.

any ideas why the comma and space are added to the string?

thanks
kwong
 
Hi Kwong,

Look for an additional "FlowCode" field. When 2 form fields have the same
name, this is how they are handled. It looks like the second form field has
no value in it.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.
 
When you submit the form, it sounds like you have two fields in the
form named FlowCode.
The values from these will be concatenated with a comma separator.
 
yes, that was it. since i included the receiving page on my forwarding
page, that was like posting it. thanks.
 
Back
Top