4 years ago

Two sites on the same server keeps logging users out

Posted 4 years ago by JayeClissold

I have two sites set up on the same server, but people keep getting logged out at random. I've changed the session, cache and application key so they're all unique for each site. I'll try and give as much information as I can about the server but it is for a client so I don't have all the details. I've set these sites up using Laragon. The server itself is virtual and is hosted on site. I asked this question previously and it was suggested that I may have set the sites up incorrectly which is what's causing the cross over. When people are logged off this way and they log back in, it's taking them to /home which doesn't exist. When users log in normally it successfully redirects them to the right address.

Server: Windows Server 2012 Database: MSSQL Link to previous discussion: https://laracasts.com/discuss/channels/laravel/default-authentication-keep-logging-out-at-random

Any help would be appreciated, I really need to work this one out.

Please sign in or create an account to participate in this conversation.