PHP, make the page automatically detect changes made by the admin -


just wanna ask opinions regarding scenario want achieve, have admin site , members area. now, if admin deleted id of current user logged-in on members area page, members_area.php automatically refresh , redirect them login page. possible using php, don't want use javascript/jquery achieve :)

  • please feel free comment if think question not clear.

this work on next refresh initiated user. if want auto refresh have use javascript validate credentials time time or listen push notifications (websockets)


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -