I’m wondering what the typical way storing a session would be, so that you could not just typing in http://www.website.com/inserter.php?this=whatever and insert something into a database. Currently I do have a file which has the sole purpose of inserting into a database, and I’m wondering how to prevent unauthorized use.
Thanks.
check this out, it is about ajax login to php and keep your session data page to page in php.