Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

tbasoft@gmail.com's avatar

session problem!

i have two laravel app in one server by two different cookie name 1)app.com ->"app" 2)myapp.app.com ->"app2"

app (2) has 3 panel for users

in (2) when users login after a few days in user panel change users! same as session user1 set for user2 i change driver to database but not solved

0 likes
5 replies
jlrdw's avatar

Perhaps show image here, Not external, of folder structure.

jlrdw's avatar

@TBASOFT@GMAIL.COM - I read article, have you tried to scale up, (proper load balance), and tried another driver like Redis or Memcache.

tbasoft@gmail.com's avatar

no i have just one server ! not need to scale up ! it seem session replacement for users! i guess its for nginx

jlrdw's avatar

Could be the way you have things set up, go to google and punch in:

site:laracasts.com multi tenant

Please or to participate in this conversation.