Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

PHP memory

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

PHP memory

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

In PHP, can we store variables in memory like session variables.
vishwamg
New php-forum User
New php-forum User
 
Posts: 2
Joined: Fri Oct 12, 2012 12:13 am

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.
seandisanti
php-forum Fan User
php-forum Fan User
 
Posts: 838
Joined: Mon Oct 01, 2012 12:32 pm


Return to PHP coding => General

Who is online

Users browsing this forum: Google Feedfetcher and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron