truncated form post

truncated form post

Post by milkoNOSPA » Fri, 09 Jan 2004 03:50:02


Hi everyone,

I'm using VS.NET, Framework 1.1, Windows 2000 Server, IIS
5, all the latest patches are installed.

Im having this wierd random problem, that I cannot
reproduce but it happens quite often:

- my Request.Form collection is truncated in some posts
(again I dont know why or how to reproduce it).
- I know this b/c some data fields are missing, creating
errors in server-side; then I programmed a function to ask
for last field that always has to have some value, and
email me the Request.Form.ToString() string; and I see
things ending like: &cboCCcountryID%3alstList= (note no
value there), or even last form field name in list
truncated.

My form post size, with all the ViewState data is around
45K, and so are in truncated ones.

Any help would be inmensely appreciated, a direct email to
my address (remove anti-spam trap) would be even better,
at least to let me know my question has a post.

Thanks!!!

Milko
 
 
 

truncated form post

Post by Kevin Spen » Fri, 09 Jan 2004 06:39:14

It looks like you may be naming your form fields with illegal URL characters
in them. Try to stick to straight alphanumerics with no spaces or
punctuation.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

 
 
 

truncated form post

Post by milkoNOSPA » Sat, 10 Jan 2004 04:43:31

well, that "&cboCCcountryID%3alstList" is
really "cboCCcountryID_lstList", the "_" char in appended
by the .NET framework when I create an instance of my web
user control "lstList" as "cboCCcountryID", there is not
much I can do there, besides the "_" is not illegal in
forms, isn't it?

thanks for your replies!


illegal URL characters
spaces or


IIS
ask
to
 
 
 

truncated form post

Post by milk » Sun, 18 Jan 2004 07:45:40

Hi everyone,

I'm using VS.NET, Framework 1.1, Windows 2000 Server, IIS
5, all the latest patches are installed.

Im having this wierd random problem, that I cannot
reproduce but it happens quite often:

- my Request.Form collection is truncated in some posts
(again I dont know why or how to reproduce it).
- I know this b/c some data fields are missing, creating
errors in server-side; then I programmed a function to ask
for last field that always has to have some value, and
email me the Request.Form.ToString() string; and I see
things ending like: &cboCCcountryID_lstList= (note no
value there), or even last form field name in list
truncated, ie. ...&txtFieldNa (instead of
txtFieldName=blahblah)

My form post size, with all the ViewState data is around
45K, and so are in truncated ones.

Any help would be inmensely appreciated.

Thanks!!!

Milko