PHP SESSIONS Question -


When a user logs in then I should report it there $ _ session ['user_id'] user id or not? For example, just like the code below.

  mysqli_real_escape_string ($ mysqli, htmlentities (strip_tags ($ _ session ['user_id']))); Session data is stored server-side, so it must be approved before being added to it.  $ _ session  in the first place. 


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -