Poll: Ajax library? You do not have permission to vote in this poll. |
|||
yes | 18 | 36.73% | |
no | 25 | 51.02% | |
maybe | 6 | 12.24% | |
Total | 49 vote(s) | 100% |
* You voted for this item. | [Show Results] |
[split] Ajax library? |
Ok just a question.. AJAX means "asynchronous JavaScript and XML" why should CI supports it with special library?
By default there is just 1 header which is added inside AJAX requests so it can be recognised as Ajax, but it is not secured as anyone can added at browser requests or at curl crawlers and others.. The only important thing which CI has to cover is Request doesn't matter where it comes from .. Framework never should be left to decide by itself what data type to return. This can be security Risk! If you are working with AJAX and some API you have to specify the data type (xml, json or other) within the request and this doesn't have anything related with AJAX itself. You say to the api that you want xml and the API (CI app) is returning XML.. same for other types.. Best VPS Hosting : Digital Ocean
|
Messages In This Thread |
[split] Ajax library? - by paysalkharis - 04-06-2015, 09:19 PM
RE: [split] Ajax library? - by sv3tli0 - 04-06-2015, 10:14 PM
RE: [split] Ajax library? - by albertleao - 04-06-2015, 10:52 PM
RE: [split] Ajax library? - by salain - 04-06-2015, 11:23 PM
RE: [split] Ajax library? - by silentium - 04-06-2015, 11:37 PM
RE: [split] Ajax library? - by nasser.man - 04-07-2015, 12:11 AM
RE: [split] Ajax library? - by dmyers - 04-08-2015, 05:52 AM
RE: [split] Ajax library? - by blocSonic - 04-10-2015, 05:05 PM
RE: [split] Ajax library? - by mwhitney - 04-14-2015, 09:44 AM
RE: [split] Ajax library? - by blocSonic - 04-14-2015, 06:40 PM
RE: [split] Ajax library? - by mwhitney - 04-16-2015, 06:49 AM
RE: [split] Ajax library? - by albert.freeman - 04-13-2015, 03:34 PM
RE: [split] Ajax library? - by sv3tli0 - 04-14-2015, 11:42 PM
RE: [split] Ajax library? - by Razican - 04-20-2015, 03:39 AM
RE: [split] Ajax library? - by PaulD - 04-20-2015, 07:04 AM
|