Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
oil and Session
  • hi,
    am using tasks to convert some files, the task itself is launched by "exec (php oil refine task:func...)" command, so i need to set a Session var when the script is finished, to interact with the app Session.
    the issue come  when  i set a Session var in the task i can't retrieve it from the app.
  • HarroHarro
    Accepted Answer
    Sessions work with cookies, that take care of the persistence between requests. There is no cookie support on the commandline, so you can't use sessions.
  • thank you

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion