Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NETAjaxjQuery
I have a question about using jquery.ajax in ASP Projects,
 
in last ASP Project im uesd jQuery.ajax method to pass the values to the function in code behind, and that function nust save that data to Database, is it secure way or no?
 
if the answer is no, what can i do to save the data to database with ajax?
Posted 9-Jan-13 2:49am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

in last ASP Project im uesd jQuery.ajax method to pass the values to the function in code behind, and that function nust save that data to Database, is it secure way or no?
Yes, that's the way to use ajax. What's the issue? Sounds OK.
  Permalink  
Comments
Marcus Kramer at 9-Jan-13 9:09am
   
+5.
shajarian_lover at 9-Jan-13 9:17am
   
my question is that is this way secure or no?
Sandeep Mewara at 9-Jan-13 9:21am
   
It is. Use querystring for normal data and send via form parameters using POST for data you think needs to be hidden. If you need more, encrypt the data before sending.
shajarian_lover at 9-Jan-13 9:34am
   
can you explain more about your solutions? (i'm a beginner)
Sandeep Mewara at 9-Jan-13 9:40am
   
Ok. Then read about WHAT & HOW of AJAX request first. Types of XMLHTTPRequest and their implementation. You will get it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 367
1 thatraja 220
2 OriginalGriff 205
3 Abhinav S 166
4 CPallini 160
0 Sergey Alexandrovich Kryukov 8,849
1 OriginalGriff 5,035
2 Peter Leow 3,949
3 Maciej Los 3,535
4 Abhinav S 3,148


Advertise | Privacy | Mobile
Web02 | 2.8.140415.2 | Last Updated 9 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid