Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET Ajax jQuery
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 3: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
0 Sergey Alexandrovich Kryukov 535
1 OriginalGriff 275
2 Shweta N Mishra 244
3 BillWoodruff 235
4 Deepu S Nair 230
0 OriginalGriff 6,168
1 Sergey Alexandrovich Kryukov 5,818
2 DamithSL 4,958
3 Manas Bhardwaj 4,539
4 Maciej Los 3,755


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

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100