delickate Posted May 19, 2008 Share Posted May 19, 2008 hi, i'm using session. its value changes on each refresh. i need to also store its value that was stored last time in it. any one know how to? Quote Link to comment Share on other sites More sharing options...
947740 Posted May 19, 2008 Share Posted May 19, 2008 Just make a second variable with the old value. Quote Link to comment Share on other sites More sharing options...
BlueSkyIS Posted May 19, 2008 Share Posted May 19, 2008 can we see code? it sounds like you're leaving out session_start() at the top of each page. Quote Link to comment Share on other sites More sharing options...
947740 Posted May 19, 2008 Share Posted May 19, 2008 I think he is saying he changes the value every time the page loads. Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted May 19, 2008 Share Posted May 19, 2008 Just make the session variable an array and add a new array element with the new value. If you give a specific example, someone can give a specific way of doing what you are attempting. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.