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 6187639
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T02:05:39+00:00 2026-05-24T02:05:39+00:00

With regard to efficiency (speed) and security, which is better for saving data to

  • 0

With regard to efficiency (speed) and security, which is better for saving data to db 1) using the regular way in codebehind (postback) or 2) jquery with webservice method ?

Thank you

  • 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-24T02:05:39+00:00Added an answer on May 24, 2026 at 2:05 am

    Apparent speed – AJAX, but this will probably not be any quicker than a post-back, and may be slower depending on your method and process. But the speed to return process to the user AJAX is much better, and so it appears much faster. Of course, if you don’t want user progressing and doing more work while the data is saving, this is a bad idea.

    If you have a lot of inputs on your page and you only want to send a few of them for saving, then your transfer time will be less with an ajax call, just sending the relevant data. However, if you are sending most or all of the page data, then a postback will be very similar.

    The real time consumer is the time to write data to the database ( as @Anthony Scott points out ), and if you do a postback, there is the data transfer time, the data write time and the redisplay page time before the page returns to usability. This can be significant.

    As for security, there is no real difference, as they will both pass the same sort of data across the wire. If you are especially concerned about security, then you need to encrypt the data, whichever method you use.

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

Sidebar

Related Questions

In regard to static data table design. Having static data in tables like shown:
Fellow StackOverflowers, we are building an iOS application that will record data which will
in regard to recursion what is a seed value?
My question is in regard to the SelectComman in the <asp:SqlDataSource ID=SqlDataSource2 runat=server ConnectionString=<%$
I have few question in this regard When you create an internet page, does
I'm studying JIT design with regard to dynamic languages VM implementation. I haven't done
I have heard the 'shard' technique mentioned several times with regard to solving scaling
I suppose this question could just as easily be applied to PHP with regard
I've been looking into improving SQLite performance for my site, especially with regard to
What are some ways to write object-oriented code in C? Especially with regard to

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.