U
up3000
I just worte code in this way in my login.htm with javascript,
login.htm resides in websitea
document.cookie ='Data=' + escape(AccountStr + "|" + CheckStr +
"|" + IndexStr + "|" + AccountType + "|") + "; expires=" + expire
s.toGMTString()+' Path=/ ;' +"Domain=www.websiteb";
my goal is to share user's loginfo between websitea and websiteb.
in my option , Domain is set for websiteb. so when user try to browser
any webpage in websiteb , cookie will be transfer to server side . The
websiteb can get login's info that user filled in login,htm
in fact . i am not sure it can works . i searched online for
solutions. there have lots of way
to solve it,but all of that depend on ablility of server side such as
redirect. since i am in apache + mod_$mycmod context in which there
was no such facility. I have to find a new way to solve my problem.
Any help is welcome
login.htm resides in websitea
document.cookie ='Data=' + escape(AccountStr + "|" + CheckStr +
"|" + IndexStr + "|" + AccountType + "|") + "; expires=" + expire
s.toGMTString()+' Path=/ ;' +"Domain=www.websiteb";
my goal is to share user's loginfo between websitea and websiteb.
in my option , Domain is set for websiteb. so when user try to browser
any webpage in websiteb , cookie will be transfer to server side . The
websiteb can get login's info that user filled in login,htm
in fact . i am not sure it can works . i searched online for
solutions. there have lots of way
to solve it,but all of that depend on ablility of server side such as
redirect. since i am in apache + mod_$mycmod context in which there
was no such facility. I have to find a new way to solve my problem.
Any help is welcome