Hi all, Anyone can help with the idea of how to make a login page within subdomains? Users should login all of the subdomains throughout one login page. E.g. i have "www.test.com" and i have "sub1.test.com" and "sub2.test.com" And normally i have a successful login page at www.test.com. But whenever i try to send the login form from sub1.test.com to www.test.com, the session only let the user to login to www.test.com, but not to sub1.test.com or sub2.test.com Maybe i miss something. Can someone help?
Well i think ull have to make a seprate php script for creating a cookie when someone logins call it everytime someone logins so that it creates a cookie for all subdomains
you need the single sign on. search in google for single sign on in asp, you should be able to find lot of samples
I found something called Xsess, i think this will work for now. Edit: the only problem is that you can only login to one another subdomain with this script. This doesnt let user login to the complete subdomain system. This script redirects the session variables to the other page. But what if the user wants to use the sub2.test.com service, this script stucks...! Using cookies is a bit risky, that is why i wanted sessions instead. Any other idea?