session question, thank you for answering it.
不喜欢吃糖
不喜欢吃糖 2018-01-07 23:47:47
0
6
2407

{$Think.session.userinfo.id} and {$Think.session.userinfo.is_update}, these two data are not in my session, nor are they in my printout. May I ask why? I currently hard-code the ID and is_update directly into the session in the Login controller.

不喜欢吃糖
不喜欢吃糖

reply all(3)
云忘红尘

Do you still have the frontend template for this tutorial? When I downloaded the Crazy Website, it was removed due to copyright issues.

宏宏

There is an error in the teacher's login.php when saving the session. It should be Session::set('user_info',$admin->toArray());

  • reply After changing it, all the fields in the session are now available. Thank you.
    百度郝郝 author 2018-05-13 15:40:53
lge

Did you write the id and is_update into the session while logging in?

  • reply The problem was solved after I wrote it. It seems that the teacher didn’t write the video tutorial.
    不喜欢吃糖 author 2018-01-08 09:37:32
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template