Похожие чаты

Hi I have webservice with codeigniter. And i connect to webservice

from client with php ( this part is codeigniter too, but in other url). and in one page i need post data to webservice with ajax(jquery).
Ajax is working ok and return result. But problem is: session in webservice becomes null when send request with ajax to webservice.
Can help me?

2 ответов

6 просмотров

I had the exact same problem when uploading images with ajax, and i set the sess_expiration in config to: $config['sess_expiration'] = time()+10000000;

https://stackoverflow.com/questions/11460209/codeigniter-losing-session-after-awhile-in-ajax-call also see this

Похожие вопросы

Обсуждают сегодня

Карта сайта