session variable help for newbie?
Posted: Wed Oct 17, 2007 2:58 am
Hi
I am developing an app to allow parents to access their children's academic reports online. I previously did this in asp.net and used the pupil id no. as the session variable to limit all the subsequent recordsets to show data only for that pupil. Can anyone advise on how I can do this in PHP? The pupil id is seffectively the password, and I want the to carry to the next pages to use in the MySQL queries on those pages. Can I do this or is there a better method? I want to keep security high as I don't want parents to see the wrong reports
!
Thanks all.
I am developing an app to allow parents to access their children's academic reports online. I previously did this in asp.net and used the pupil id no. as the session variable to limit all the subsequent recordsets to show data only for that pupil. Can anyone advise on how I can do this in PHP? The pupil id is seffectively the password, and I want the to carry to the next pages to use in the MySQL queries on those pages. Can I do this or is there a better method? I want to keep security high as I don't want parents to see the wrong reports
Thanks all.