Question: session issue?

Asked By
dylan.dpc
Asked At
2017-08-07 10:35:11

Found 15 possible answers.

User Answered At Possible Answer
lloople 2017-08-07 10:36:14 I don't think so, it's on database and exists uhm... that's weird...
lloy0076 2017-08-07 10:37:28 The session is "in" the database and the session "exists"?
lloople 2017-08-07 10:37:38 I have logged in the app, and navigate through screens without losing the user, but the sessions table is empty
dylan.dpc 2017-08-07 10:37:49 yaay :joy:
lloople 2017-08-07 10:37:59 the driver maybe :thinking_face: okey, let's continue. Now I have the session on DB but still getting the same error :joy: yep, didn't update the .env file
lloy0076 2017-08-07 10:39:38 Are you sure they're in/on the DB?
lloople 2017-08-07 10:40:02 what do you mean?
lloy0076 2017-08-07 10:40:25 i.e. even though the sessions now work, are they really working?
kasperpeulen 2017-08-07 10:41:21 @dylan.dpc @dadibom actually, the ability to autoload namespaces, would already be enough, I want to do something like this: is it possible to autoload namespaces?
str_helper\contains($word, $match);
use App\str_helper as str_helper;
lloople 2017-08-07 10:41:44 @lloy0076 I checked the table and there's the record
lloy0076 2017-08-07 10:42:03 Ok, just making sure :slightly_smiling_face: What are you trying to do, @kasperpeulen ?
dylan.dpc 2017-08-07 10:43:12 @kasperpeulen why not make a class and create static functions? a lot cleaner
kasperpeulen 2017-08-07 10:44:38 So I have a collection of string helpers. And I see that the advice is too put them in a class with static functions. But I want to but them in a namesapce with global functions, as I find that a lot clear, but but they can’t be autoloaded it seems.
lloy0076 2017-08-07 10:44:43 https://laravel.com/docs/5.4/helpers#method-str-contains
kasperpeulen 2017-08-07 10:45:09 @dylan.dpc I don’t need to a class, I don’t need instances

Related Questions