| Author |
Message |
jb007
Joined: 21 Dec 2005 Posts: 7
|
Posted: Wed May 10, 2006 9:15 pm Post subject: Problem with post data (Extra & at the end) |
|
|
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 |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6348 Location: Red Gate Software
|
Posted: Thu May 11, 2006 11:51 am Post subject: |
|
|
Sounds like a cut-and-dried problem in the application. I'll have a look at it. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6348 Location: Red Gate Software
|
Posted: Thu May 11, 2006 1:24 pm Post subject: |
|
|
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? _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
jb007
Joined: 21 Dec 2005 Posts: 7
|
Posted: Thu May 11, 2006 5:57 pm Post subject: |
|
|
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 |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6348 Location: Red Gate Software
|
Posted: Tue May 16, 2006 5:57 pm Post subject: |
|
|
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. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
|
|
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