I am building an app where i use parameterized hostnames.
all hostnames points to the same app, the app parses the url and uses the first chunk as a username.
The problem is that a user who is using my app who is logged in my site should stay logged in, even if he change the "subdomain". how can i correct this?
i need the same session to run on all parameterized hostnames!
It stores a phpid cookie for the domains selected, the only difference is that the data that you set in setState or any other session function is stored in the db