PHP Session Control / jQuery

Asked

Viewed 187 times

0

I’m creating a system where I have user groups with specific permissions. I need to do a session control at the time of login, storing the user permissions in session variables so that they are available on all pages, to verify in which resources and/or pages the user has access permission. I have already had contact with the session variables of PHP, however, doing so I would have to include a snippet of PHP code in the HTML pages. Is there a way to do this by leaving PHP completely separate from HTML? I saw a plugin called jquerysession.js to deal with this, has anyone used and knows if it is a good option? If so, would you have an example of use? Grateful from now on!

  • Have you ever heard of MVC? Model View Controller, that way you get the server-side and client-side code, in php we have the > Laravel, zend framework

  • I’ve heard of Latin, but I’ve never researched it. I’ve recently started on the web. I’ll take a look!

  • I do not think your question fits well with the website proposal (https://answall.com/help/on-topic). I suggest you research better on the alternatives in terms of software solution architecture so your question is more specific.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.