473,507 Members | 2,451 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 2546
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
1348
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
7992
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
1820
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
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...
13
8627
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
10694
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
8282
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
2588
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
4314
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
7223
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
7110
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
7372
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...
0
5623
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,...
1
5041
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3191
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...
0
1540
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 ...
0
411
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...

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.