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 7618569
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T03:26:14+00:00 2026-05-31T03:26:14+00:00

Has anyone tried to do this and gotten it to work? I have tried

  • 0

Has anyone tried to do this and gotten it to work? I have tried to set them up accessing the same database on the same server using the same remember-me key but it will not work. Is there something I may be missing? Is this even possible if they are completely separate war files?

  • 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-05-31T03:26:16+00:00Added an answer on May 31, 2026 at 3:26 am

    The main consideration is the domains and paths under which the applications are accessed and whether the remember-me cookie can be shared among them.

    By default the cookie path is set to be the context path of the application, so you cannot share a cookie between two different applications unless you change this. Even then, if the domains do not match, the browser will refuse to send the cookie.

    You need to override the setCookie method in AbstractRememberMeServices to avoid setting a specific path for the cookie. If the domains do not exactly match you will also have to call the Cookie.setDomain method. You can use something like setDomain(".foo.com") to share the cookie between a.foo.com and b.foo.com. See the Javadoc for more details.

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

Sidebar

Related Questions

Has Anyone tried using PDF in iPad Application, using CGPDf functions. I have used
Has anyone tried this library out? I cannot get it to work. For example,
Has anyone gotten multi-touch zoom to work on a textView? I have searched SO
has anyone gotten this http://www.xarg.org/project/jquery-webcam-plugin/ , to work with aps.net mvc 3? I can't
I am using the J2T Remember Me Checkbox extension for magento. Has anyone tried
Has anyone tried using the NHibernate Velocity L2 cache provider against the Azure AppFabric
Has anyone tried to build an e-commerce site atop MS Dynamics, using the new
Has anyone tried to back up a SharePoint web application using forms based authentication
Has anyone tried taking a video from the camera and then using the video
Does LINQPad work with Oracle? Has anyone tried? What do you suggest?

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.