i am working a on a permission system. In each page it will need to check whether if the user has the permission to do so. I have two choices, store the data in a session variable (which is only updated during login) or query the database for the information every time. Which is faster?
Ben izin değişiklikleri, ben oturum değişkeni güncellemeniz gerekir eğer, bu nedenle kullanıcı izni değişiklikleri "görmek" için tekrar giriş gerekiyor, ama bu sadece hız, karar bir faktör olmadığını fark etti.