Welcome Guest, Not a member yet? Register   Sign In
Problem set cookies on PHP server development mode

(This post was last modified: 10-08-2015, 02:08 AM by arma7x.)

Currently, I'm working to store cookie on PHP server development mode using cookie helper, but failed. I put the domain name '.localhost:8000', 'localhost:8000', '' & '.'. All of domain I listed doesn't work. Do some browser doesn't allow to store cookie on localhost?? Or any solution to this problem??
Keep calm.

It depends on the OS you are running Windows Mac etc;

But for cookies on a local host the default config always works.
If your running Windows then you need to set the browsers to allow third party cookies.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )

localhost:8000 is not a domain ... it's a domain and a port.

I'm not sure if that's allowed to work, so it may be your problem.

(This post was last modified: 10-08-2015, 04:56 AM by arma7x.)

I map to localhost.com. Using linux(Netsurf Web Browser) both ci_session and my custom cookies works. But on windows, Mozilla Firefox does not detect any cookies, and Google Chrome only detect ci_session. All test under domain localhost.com:[port]
Keep calm.

Theme © iAndrew 2016 - Forum software by © MyBB