Fix session in ajax