Forum Moderators: coopster
User comes and logins on x.domain.com ... everything is perfect, but while he is logged on he tryes to view y.domain.com ... now here the login is not valid anymore. (basically user authentification on multiple subdomains)
I underline that both domains are using the same user/pass dbase, I do not want to resolve this by putting cookie into user pocket. I`ve seen something like handling sessions from mysql.
I couldn`t find any good example on this whole internet, can anyone help me resolve this issue?
Reply With Quote
I do not want to resolve this by putting cookie into user pocket.
Seems you ending up going this route anyway? I would -- when crossing subdomains using cookies is by far much easier to implement if you want to maintain the same session.
macdar, if the domains for which you are sharing a session are on the same server (or can access the same database server I should say) you may want to consider seting a unique session id and maintain state using a database.