Jump to content

$_Session Control


jalm_magalhaes

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...

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.