0

My project in codeigniter and problem is that if some user disable cookie then he can't login in to my project.

1 Answers1

0

In case you want to work with customer session when cookie is turned off entirely, you can use: ini_set("session.use_only_cookies", 0); // will force the appendage of a session id to each url

However, this way has it's own disadvantages, e.g. in case not using secure connection (e.g. http) session id can be stollen and etc.

sergio
  • 5,210
  • 7
  • 24
  • 46