Drupal 4.7.x and PHP 5.2. login problems

After upgrading server to PHP 5.2, all installations of drupal 4.7.x started giving me "Access Denied" errors

After logging in - system would log you out if any page is visited. Initially this was looking like Cookie problem.

After a short research, i found that this was due to some enhancement in PHP 5.2.x

register_shutdown_function('session_write_close');

This line needs to appended at the end of sites/default/settings.php

This would solve the problem.

Vinay Yadav
PHP / Drupal Expert
http://www.vinayras.com

Online Rental Business System

ONline Rental System

commodity rentals is the most comprehensive Online Rentals Business script Creator today. It comes with a full E-Commerce Capacity and is ready to go, out of the box. It can get your Online DVD Rentals Software business up and running within a matter of hours. Built on a fully extendibles and customizable platform, commodity rentals makes use of open attribute architecture, allowing you to add your own rental attributes and create your own customized version of your online rental business.

Online DVD,Movie,CD,Video Game,Books, Real
Estate and Vacation Property Rental Software Business

Website: http://www.commodityrentals.com/