我的形式是这样的:CURL是否销毁会话?
<?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.
在admin.php的文件。
//set up session key to a db value
// check. if false return to login page
但是,当刷新到admin.php然后会话不起作用。回到我的登录页面。 但是在curl之前添加所有的过程都没问题。
所以我的问题是:curl
函数销毁会话吗?如果是,那么我应该在curl返回后启动session_start()
函数吗?