Click here to Skip to main content
15,921,694 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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

1 solution

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.
 
Share this answer
 
Comments
fjdiewornncalwe 9-Jan-13 9:09am    
+5.
shajarian_lover 9-Jan-13 9:17am    
my question is that
is this way secure or no?
Sandeep Mewara 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 9-Jan-13 9:34am    
can you explain more about your solutions?
(i'm a beginner)
Sandeep Mewara 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900