My form is like :
<?php session_start();
// some variables
// entry into database with these variables
//then using curl to post those data to external site.
//and then refresh to another admin.php file after return curl.
in admin.php file.
//set up session key to a db value
// check. if false return to login page
But when refresh to admin.php then session is not working. return me to login page. But before curl add all process was ok.
So my question is : Does curl
function destroy session ? If yes, then should i start the session_start()
function after curl return ?