Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8376057
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T15:20:04+00:00 2026-06-09T15:20:04+00:00

I have domain1.com with a login screen and have domain2.com with another login screen

  • 0

I have domain1.com with a login screen and have domain2.com with another login screen login.php

While user accessing domain2.com, if he already logged in to the domain1.com, the request should be redirect to the domain2.com\index.php

Any idea how to achieve this ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T15:20:06+00:00Added an answer on June 9, 2026 at 3:20 pm

    You can’t do in normal way using cookies and sessions.

    For cross domain login, This is how Stackoverlow sites did.
    read this and yet this

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two files in two domain http://example1.com/remote_login.php and http://example2.com/login.php While user accessing http://example1.com/remote_login.php
I have a Magento install with multiple domains (domain1.com, domain2.com) sharing a single checkout
I have problem with my .htaccess redirections. Say I want to change http://www.domain.com/login.php into
I have two domains, domain1.com and domain2.com pointing at the same asp.net website which
we have a production site like www.Domain1.com, and developing a new web application www.domain2.com,
login CreateUserUrl=~/user/page.aspx goes to x.com/user/page.aspx instead of x.com/dir/user/page.aspx So I have this format for
I have 3 domains pointing to the same website, with no redirects, so domain1.com,
If I have : domainA.com/out.php : <?php header('location: http://domainB.com/'); ?> Is it possible to
I have a rewrite rule: RewriteRule ^b/([^/]*)$ bus.php?location=$1 When I try to login from
I have a website using Forms Authentication on domain1.com. I've been asked how a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.