Have solved the above problem. Server administrator had turned off Sessions. Once he turned them back on it works fine. Now able to update content and retrieve it from the database ok.