replace cookie lg by sesssion lg