Forum Moderators: coopster

Message Too Old, No Replies

What is the Best way of implementing Session control

Using PHP

         

Red_Eye

10:35 am on Jun 3, 2003 (gmt 0)

10+ Year Member



I am looking at changing the way my admin area work and creating my own shopping cart. I am planning on using sessions to store logins etc. Which is the best way of impelmenting them using PHP.

jatar_k

7:41 pm on Jun 3, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



A bit overly broad.

this is the place to start
Session handling functions [php.net]

then you will need to decide what information you want stored. Then that should lead down the best way to store it. You could use one var or a very complex multi dimensional array. Mostly it depends on the number/size of values you need to store.