fixed issue with php session headers