Fergal Andrews Posted May 25, 2010 Share Posted May 25, 2010 Hi, I am writing a session management class for a project I am working on at the moment. The live server has a very restrictive environment, PHP4, Oracle 9i, no cache available, no writing to files on the server and no usage of PHP sessions. Consequently, I am writing a class to manage sessions as the project involves a big online form over several pages. I've written the class which uses a cookie to store an ID and writes 'session' data to the database. However, I need to handle users that have disabled cookies. I was thinking the best solution would be to write the id to a hidden form field, but there might be some security concerns about that. Does anyone have a better solution for this problem? Many thanks, Fergal Quote Link to comment https://forums.phpfreaks.com/topic/202882-help-needed-with-php-session-management-class/ Share on other sites More sharing options...
trq Posted May 26, 2010 Share Posted May 26, 2010 Why would there be a restriction on being able to use php sessions? You can use standard php sessions and still store all session data in a database if the writing of files is the problem. Quote Link to comment https://forums.phpfreaks.com/topic/202882-help-needed-with-php-session-management-class/#findComment-1063335 Share on other sites More sharing options...
Fergal Andrews Posted May 26, 2010 Author Share Posted May 26, 2010 Hi thorpe, thanks for the reply. The job is for a bank who are paranoid about security, which I guess is understandable. They are also worried about the fact that there will be a lot of use. PHP's session handling can have problems when subjected to heavy traffic. Cheers, Fergal Quote Link to comment https://forums.phpfreaks.com/topic/202882-help-needed-with-php-session-management-class/#findComment-1063407 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.