By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,852 Members | 1,426 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,852 IT Pros & Developers. It's quick & easy.

Sharing Sessions across multiple Domains

rajiv07
100+
P: 141
Hi to all

I am wondering how do i share the session across multiple Domains.Suppose i have set session in example1.com and i want to access the session in example2.com which is set in example1.com.And both are in different IP address.

If you have any idea or any reference material will be appreciated.

Regards
Rajiv
Apr 26 '08 #1
Share this Question
Share on Google+
5 Replies


KevinADC
Expert 2.5K+
P: 4,059
Cookies is the only thing I can think of.
Apr 26 '08 #2

rajiv07
100+
P: 141
Hi Kevin,

Thanks for your reply.Could give an example.

Regards
Rajiv
Apr 26 '08 #3

eWish
Expert 100+
P: 971
There are many example of using cookies on CPAN.

--Kevin
Apr 26 '08 #4

KevinADC
Expert 2.5K+
P: 4,059
Hi Kevin,

Thanks for your reply.Could give an example.

Regards
Rajiv
I don't have any examples. And now that I think about it it might not be possible. Supposedly cookies can only be read/written to from the website that originally stored the cookie file on the clients computer, this is obviously for security and privacy. So it should not be possible for www.site1.com to read cookies written by www.site2.com. It may not be possible.
Apr 26 '08 #5

rajiv07
100+
P: 141
Hi Kevin

Thanks for your valuable infomation.

Regards
Rajiv
Apr 28 '08 #6

Post your reply

Sign in to post your reply or Sign up for a free account.