Jump to content

Recommended Posts

Hi,

 

I've started development in PHP recently and i'm having some questions about SESSIONS, im trying to do something were safety is to much important to ignore, so what im trying to do is to create some sessions variables, as $_SESSION['username'],$_SESSION['profile'], and so on..., but after that i dont want that any other variable could be assigned to $_session or change any one that i've created at a point of my code. Unless that i destroy the session and start another one...

 

can anyone help me?

 

I've been using session_write_close() but its not working...

Edited by jalm_magalhaes
Link to comment
https://forums.phpfreaks.com/topic/272029-_session-control/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.