$_session['user_id']=4;
Where this values of session is saved.. means in some file??
where??
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, they are stored in a temporary file somewhere on the server your website resides on. You can specify that setting in php.ini with
session.save_path.You could also use the function
session_save_pathto set and get session path from your script.Syntax:
session_save_path— Get and/or set the current session save path