Jump to content


This topic is now archived and is closed to further replies.


48craft.com:: Sessions not working after implementing the security addons

Recommended Posts

Hi, we have implemented all the security add ons provided by the great team at oscommerce. But we observed that due to the following code


if (!empty($_POST)) array_walk_recursive($_POST, 'RemoveXSS');

if (!empty($_GET)) array_walk_recursive($_GET, 'RemoveXSS');

if (!empty($_COOKIE)) array_walk_recursive($_COOKIE, 'RemoveXSS');

if (!empty($_SESSION)) array_walk_recursive($_SESSION, 'RemoveXSS');


the sessions are not working, and the best view for images is also not working.

But if we comment this part, sessions and other things are working fine, but there is malware and trojan attack on the site.

Can someone please help us as to what has to be done.

site : 48craft.com

Appreciate your help.

Share this post

Link to post
Share on other sites