WordPress Admin Area Ajax Keep Session
-
Hi guys, I’m playing around developing a plugin for the admin area. This plugin allows me to upload files into a specific directory and etc etc for now. Now I’m implementing the a remove feature via Ajax. I send a Ajax request like the following one
http://domain.com/blog/wp-content/plugins/myplugin/remove.php?file=thisfile.pdf
The remove.php deletes the thisfile.pdf
BUT if anybody know how the engine works I’m in big trouble becouse they can delete all files without being loged in.How can I send the wordpress session? Could anyone point me to documentation how wordpress session work.
The topic ‘WordPress Admin Area Ajax Keep Session’ is closed to new replies.