Red Gate forums :: View topic - Problem with post data (Extra & at the end)
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Load
ANTS Load forum

Problem with post data (Extra & at the end)

Search in ANTS Load forum
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Jump to:  
Author Message
jb007



Joined: 21 Dec 2005
Posts: 7

PostPosted: Wed May 10, 2006 9:15 pm    Post subject: Problem with post data (Extra & at the end) Reply with quote

We have noticed an issue with the post data. We found that ANTS load adds a & at the end of the post data. What this does is add a key to the Request.Params.AllKeys Collection with a key value of "null". This is breaking our code and we are not able to use ANTS load.
The post data is being added using the WebClient.HttpRequest.AddPostData Method

Fixing the code to check for null value is not an option for us at this point of time.

Any suggestions

TIA
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6678

PostPosted: Thu May 11, 2006 11:51 am    Post subject: Reply with quote

Sounds like a cut-and-dried problem in the application. I'll have a look at it.
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6678

PostPosted: Thu May 11, 2006 1:24 pm    Post subject: Reply with quote

I've had a look at the code and it looks okay. Every call to AddPostData will generate a &name=value pair. Have you maybe got a blank AddPostData() method somewhere in the script?
Back to top
View user's profile Send private message
jb007



Joined: 21 Dec 2005
Posts: 7

PostPosted: Thu May 11, 2006 5:57 pm    Post subject: Reply with quote

Brian,
we do not have any additional Addtopostdata calls in the script. I must mention that I am using version 1.6.

TIA
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6678

PostPosted: Tue May 16, 2006 5:57 pm    Post subject: Reply with quote

Can you please upgrade to 1.7? I can't see how this would happen in the newest version. I haven't checked the 1.6 code to see if it's the same, though.
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies. All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group