473,395 Members | 1,460 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Keeping user session info across multiple domains

Le
Hello

I was wondering if there was a way to keep a user's session info across multple domains
For example, company A owns website www.a.com and www.b.com. A user logs into www.a.co
and later visits www.b.com. I would like to have it where the user doesn't have to login again.

Thank
Le
Jul 21 '05 #1
4 2536
Le,

You might try using a SQL database for session variables rather than the
built-in session object in ASP.NET.

Brandon

"Le" <an*******@discussions.microsoft.com> wrote in message
news:12**********************************@microsof t.com...
Hello,

I was wondering if there was a way to keep a user's session info across multple domains. For example, company A owns website www.a.com and www.b.com. A user logs into www.a.com and later visits www.b.com. I would like to have it where the user doesn't have to login again.
Thanks
Le

Jul 21 '05 #2
Le,

You might try using a SQL database for session variables rather than the
built-in session object in ASP.NET.

Brandon

"Le" <an*******@discussions.microsoft.com> wrote in message
news:12**********************************@microsof t.com...
Hello,

I was wondering if there was a way to keep a user's session info across multple domains. For example, company A owns website www.a.com and www.b.com. A user logs into www.a.com and later visits www.b.com. I would like to have it where the user doesn't have to login again.
Thanks
Le

Jul 21 '05 #3
I agree with Brandon.
You can also try to use the ASP State Service.
Generally speaking, cross domain session sharing is security-hazard, unless
you can make sure that these different urls domains belong to the same
application domain from the perspective of the web servers that manage them.

/Js.

"Brandon Potter" <microsoft@brandonpotter_nospam.com> wrote in message
news:e9*************@TK2MSFTNGP11.phx.gbl...
Le,

You might try using a SQL database for session variables rather than the
built-in session object in ASP.NET.

Brandon

"Le" <an*******@discussions.microsoft.com> wrote in message
news:12**********************************@microsof t.com...
Hello,

I was wondering if there was a way to keep a user's session info across multple domains.
For example, company A owns website www.a.com and www.b.com. A user

logs into www.a.com
and later visits www.b.com. I would like to have it where the user

doesn't have to login again.

Thanks
Le


Jul 21 '05 #4
I agree with Brandon.
You can also try to use the ASP State Service.
Generally speaking, cross domain session sharing is security-hazard, unless
you can make sure that these different urls domains belong to the same
application domain from the perspective of the web servers that manage them.

/Js.

"Brandon Potter" <microsoft@brandonpotter_nospam.com> wrote in message
news:e9*************@TK2MSFTNGP11.phx.gbl...
Le,

You might try using a SQL database for session variables rather than the
built-in session object in ASP.NET.

Brandon

"Le" <an*******@discussions.microsoft.com> wrote in message
news:12**********************************@microsof t.com...
Hello,

I was wondering if there was a way to keep a user's session info across multple domains.
For example, company A owns website www.a.com and www.b.com. A user

logs into www.a.com
and later visits www.b.com. I would like to have it where the user

doesn't have to login again.

Thanks
Le


Jul 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Rahul T via .NET 247 | last post by:
(Type your message here) Hi, I have an application in ASP.NET consisting of mutliplesubdomains. Each subdomain is implemented as a separate projectin Visual Studio.NET and they are all part of the...
2
by: Jim Tilson | last post by:
I'm having a problem with Session ID being duplicated across multiple IE windows. I edited the web.config for my ASP.net web application to display trace information on the page. I open an IE...
1
by: Larry Page | last post by:
What started off as a request for a Single Sign On solution is grown to the point where I need to make some long term design decisions and I'm hoping to get some input on how others are handling...
2
by: Le | last post by:
Hello I was wondering if there was a way to keep a user's session info across multple domains For example, company A owns website www.a.com and www.b.com. A user logs into www.a.co and later...
13
by: Samir Chouaieb | last post by:
Hello, I am trying to find a solution to a login mechanism for different domains on different servers with PHP5. I have one main domain with the user data and several other domains that need...
4
by: John H | last post by:
Hi, I'm busy fiddling with sessions under PHP5, and very quickly learned what I would have found out even sooner in the PHP manual - declaring your session variable on page1.php makes it...
3
by: laredotornado | last post by:
Hi, I'm using PHP 4.4.4. I have two domains -- www.mydomain1.com and www.mydomain2.com. Both point to the same IP address. I have two pages on that IP -- first.php <?php session_start();...
5
rajiv07
by: rajiv07 | last post by:
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...
2
by: Mas Heru | last post by:
I heard the best method to share session across multiple domains on same server is to use custom php session handler. (ie, domain name different like abc.com, xyz.com but single application.) But...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.