Checking Login Status in FuelPHP

Asked 2 years ago, Updated 2 years ago, 73 views

Nice to meet you.
We use FuelPHP to create a membership site.

FuelPHP has a controller. I can use the before() function, but I'd like to check the login status here. How do I write it?

Use the same URL for login and non-login.
You want to switch between views only.
Example: http://example.com/
(Login - > Member My Page, Non-Login - > Site Description Page)

I'm sorry that the language is not well organized, but I would appreciate it if you could teach me.

php fuelphp

2022-09-30 11:17

1 Answers

I think this will be helpful.
There is also a sample check using before().

FuelPHP Auth Package – How to Use Simpleauth|hrendoh's memo


2022-09-30 11:17

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.