laravel and phantomjs cookie -


i trying pass laravel cookie when executing phantomjs, cant working.

//this on phantom js script phantom.addcookie({     'name': 'laravel_session',     'value': laravel_cookie,     'domain': domain,     'path': '/' }); 

but should laravel_cookie be?

i tried various options emulating browser should hold recognized logged in user:

session::getid() crypt::encrypt(session::getid()) 

none of work, ideas?


Comments

Popular posts from this blog

php - Displaying JSON data posts for blog using just the post id -

docusignapi - Documents restrictions within a package -

javascript - angular.forEach loop with $http.get -