Click here to Skip to main content
15,899,314 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have two domains, say X.com and Y.edu.in.

X is the core application, which has web services, database connections etc.
Y is another application, which uses the web service in X for various functions. The authentication in Y is also done by using the web service in X. The authentication is working fine. But in order to access any other features in X from Y, I have to submit the cookie of Y which I don't have when I am in Y.

Can anyone please help me to solve this issue..

Thanks in advance...
Posted
Updated 15-May-11 19:46pm
v2

I think what you need is in this article
 
Share this answer
 
Comments
fjdiewornncalwe 16-May-11 17:48pm    
The solution you link to appears only to be applicable to Commerce Server 2002.
Hi,

You can read/write cookie either from server side code or from javascript code.
If you choose to use server side code follow the links below
http://www.beansoftware.com/ASP.NET-FAQ/Read-Write-Cookie.aspx[^]
or
http://www.mindstick.com/Articles/60de760f-be8e-4ad8-8ec8-207aef746ea1/?How%20to%20read%20and%20write%20Cookies%20in%20ASP%20Net[^]
if you want to use cookie from javascript you will get good reference from below links
http://techpatterns.com/downloads/javascript_cookies.php[^]
or
http://www.quirksmode.org/js/cookies.html[^]

Hope this will help.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900