hello i have problem with my website my website is uploaded to webhosting server and was working very well then i bought new domain and new vps server with VHM and install the same site in the server but i start to have problems the problem is i cant have cookies or sessions cookie in the vps site the header of the working website looks like this
HTTP/1.1 200 OK
Server: nginx
Date: Fri, 10 Feb 2017 17:22:18 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Vary: Accept-Encoding
Cache-Control: no-cache
Set-Cookie: XSRF-TOKEN=eyJpdiI6IjlSVVp4YXpPTk9cLzljeDFiTzBSMHZRPT0iLCJ2YWx1ZSI6Ikt5WlhrU1dCMThSSHVvb2VSQ0hvN1ZcL2pPOENZM1Y0Z09Bc1dKWFpHVDVWZ3BrU2dJMG9QQ0piUVRrbHdpcGc0RHlpeUM3aFVqXC82N2g2WHlEQUQ1Znc9PSIsIm1hYyI6ImMyOTNiMTQwZmE0MWE0ZWNiMmE0YWUyZGY3NTJmMTE0NWU4ZTk4NzhhZjE5ZDU5MDhhMjJhNmJjZDk3MzYzZjcifQ%3D%3D; expires=Fri, 10-Feb-2017 19:22:18 GMT; Max-Age=7200; path=/
Set-Cookie: laravel_session=eyJpdiI6IjkxbExEVVdhQk9OQ2RtMGtJWGZKUkE9PSIsInZhbHVlIjoiclFqNzZ5VGNzMVVIUGI0N1JDMVlTK3dnY0c2cHlcL2EyV3hiU1A4N0dScW03TytNeHM1dzhjMHRHUWVtQkZGdUFNYmdJdmcrcFMycm9kS29BemRDb0R3PT0iLCJtYWMiOiJlMWNjNzVmZmY5OGYzYzdjZjNiNzllZjFjY2UxMDFmMzk2NTczNmYyZmFiYTllMzhmMjU1ODE2NWE0MjI3Y2EwIn0%3D; expires=Wed, 14-Sep-4298 01:22:18 GMT; Max-Age=72000000000; path=/; httponly
Vary: Accept-Encoding,User-Agent
Set-Cookie: _asomcnc=1; max-age=900; path=/;
ngpass_ngall: 1
and the headers in the new vps looks like this `
HTTP/1.1 200 OK
Date: Fri, 10 Feb 2017 17:23:01 GMT
Server: Apache/2.4.25 (cPanel) OpenSSL/1.0.1e-fips mod_bwlimited/1.4
Vary: User-Agent
Set-Cookie: _asomcnc=1; max-age=900; path=/;
Connection: keep-alive, close
Content-Type: text/html; charset=UTF-8
` in new server im missing the cookies so my login and else not working im using php 5.6 apache 2.4 and WHM and CPANEL and laravel codes so i need my cookies back :(
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2kXzNop
via IFTTT
Aucun commentaire:
Enregistrer un commentaire