Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 652561
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T22:17:09+00:00 2026-05-13T22:17:09+00:00

Which is the best way (in performance and security) to send multiple parameters to

  • 0

Which is the best way (in performance and security) to send multiple parameters to a web page (on a different server), considering that the length of the parameters may vary because I’m sending a list of products, and the customer may have selected more than one product, so we need to send each product on the querystring to the other page.

For example (I’m on C#); I want to call a web page like this:

  • Simple Querystring: thepage.asp?Product=1&Name=Coffee&Value=1.99
  • Json: thepage.asp?{"Product":"1","Name":"Coffee","Value":"1.99"}
  • XML: thepage.aps?<xml><Products><product>1</product><name>Coffee</name><Value>1.99</Value></Products>

(Obviouly considering we can’t send special characters via querystring, but I put them here for better understanding)

Which will be the better way (performance, security)?

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T22:17:10+00:00Added an answer on May 13, 2026 at 10:17 pm

    Based on your comment, you’re limited to what the third-party site will accept – if all it will handle is query-strings, that’s how you’ll have to send it. If it will handle form posts, then you could look at submitting the information in the headers of a post, but that is going to take more work (you also haven’t specified if you’re building a WebRequest on the server side, or doing this through JavaScript on the client side).

    All things considered, here are some general points:

    1. There are various limits on the length of a query string (IE limits them to about 2083 characters, some servers or proxies may ignore parts over 1024 characters etc), while POST requests can be much larger.
    2. If you are doing this client side, the user can see the query string parameters (which has the benefit that they can book mark them), while they can’t (easily) see POST requests.
    3. For greater security, if the third party server supports it, submit the request over SSL.
    4. Special characters can easily be sent via the query string if you UrlEncode them first.

    As to performance, it depends on the amount of processing you have to do to create the query strings over creating XML or JSON strings.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Which is Best way to send data to aspx page, and why ? using
What is the best way to determine which ASP.NET button was clicked on a
What's the best way to take some plain text (not PHP code) which contains
What would be the best way to resize images, which could be of any
I'm trying to determine the best way of having a PHP script determine which
Which is the best timer approach for a C# console batch application that has
which is the best way to write a bidimensional hashmap efficiently in Java? Just
which are the best tutorials, books, software and practices to start and manage a
Which component is best to use for receiving HTTP requests in Delphi application?
Which is the best API to use when accessing a WebCam in .Net? (I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.