PHP memory

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

vishwamg
New php-forum User
New php-forum User
Posts: 2
Joined: Fri Oct 12, 2012 12:13 am

PHP memory

Postby vishwamg » Fri Oct 12, 2012 1:19 am

In PHP, can we store variables in memory like session variables.

seandisanti
php-forum Fan User
php-forum Fan User
Posts: 838
Joined: Mon Oct 01, 2012 12:32 pm

Re: PHP memory

Postby seandisanti » Fri Oct 12, 2012 9:17 am

All variables are stored in memory, and yes you can use session variables to persist data beyond the initial visit. check out http://jream.com/learning/videos/php-ba ... e-security for a short video on session usage and security. phpsec.org has more on the security aspects, and php.net has more on usage, but that video sums up the important parts pretty well and succinctly.


Return to “PHP coding => General”

Who is online

Users browsing this forum: No registered users and 2 guests