473,663 Members | 2,694 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2557
Le,

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

Brandon

"Le" <an*******@disc ussions.microso ft.com> wrote in message
news:12******** *************** ***********@mic rosoft.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*******@disc ussions.microso ft.com> wrote in message
news:12******** *************** ***********@mic rosoft.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@bran donpotter_nospa m.com> wrote in message
news:e9******** *****@TK2MSFTNG P11.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*******@disc ussions.microso ft.com> wrote in message
news:12******** *************** ***********@mic rosoft.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@bran donpotter_nospa m.com> wrote in message
news:e9******** *****@TK2MSFTNG P11.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*******@disc ussions.microso ft.com> wrote in message
news:12******** *************** ***********@mic rosoft.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
1358
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 same solution.I would like to share session information between thesesubdomains. Is there any method by which I can accomplish this?I'd be really grateful if I can get a answer to this problem. Thanks. -------------------------------- From: Rahul...
2
7998
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 window and navigate to the home page of my ASP.net app, and note the Session ID that was assigned. I then type CTRL-N to open a new IE window. The session ID displayed on the
1
1829
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 the same issues. I've spent the last two years moving applications to an intranet web portal, which morphed into a Internet portal, and now is providing extranet data feeds via web services. The latest twist came when users began to question why...
2
409
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 visits www.b.com. I would like to have it where the user doesn't have to login again. Thank Le
13
8659
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 a login to show data. I want the user to login only once when he visits any of my domains.
4
10697
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 available on page2.php (assuming that's the next page you load) but doesn't then make it available on page3.php unless you respecify it on page2.php. I'm sure there's a very good reason for it, and I know I can get around it by using a database and the...
3
8288
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(); $_SESSION = "hello"; ?>
5
2601
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 example1.com.And both are in different IP address. If you have any idea or any reference material will be appreciated. Regards Rajiv
2
4329
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 after i tried it, even custom php session handler that using SAME DATABASE ON 1 SERVER can't share session, when i tried to read cookie value from different domain. Here's my custom session handler, Please kindly check or fix if something missing...
0
8858
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8771
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8548
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8634
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7371
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4182
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4349
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2763
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1757
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.