Skip to content

Question on Cookies #1194

Closed
Closed

Description

@itg-assistant

Matthew Ferry asked 2017-10-31 21:08:13 UTC

We are attempting to share cookies from two different sites/apps - sharing cookies across sub-domains is viable.  For example - we can share a cookies between these two sites.

test.abc.com

test2.abc.com

To do this - you can set the http cookie domain property to be ".abc.com"  This allows http to see it across domains.

However - in the WiseJ cookie class - there is  no domain property, and it must be being set automatically.  Path property is an add on to domain so it does not help us.

Is there a way to set the domain that wisej cookies are using?  Or is there a way to hook into the http response somehow and set our own http cookie?

Please help - this is critical for one of our major projects...  Thanks in advance,

Matthew

Activity

  1. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Frank (ITG) answered 2017-11-01 13:54:20 UTC

    Hi Matthew,

    we´ll be adding the Domain property to Wisej´s Cookie class. It´s logged as enhancement WJ-8561 and we´ll notify you when it is available.

    Thanks,
    Frank

  2. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Matthew Ferry answered 2017-11-01 19:25:32 UTC

    Thank you Frank! I appreciate that.  Is there no way to work around this until the fix is ready?

  3. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Frank (ITG) answered 2017-11-01 22:30:33 UTC

    Hi Matthew, will send you prerelease build tonight. Best regards, Frank

  4. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Matthew Ferry answered 2017-11-02 18:50:18 UTC

    Thanks Frank – I will try it out.

  5. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Frank (ITG) answered 2017-11-16 00:49:04 UTC

    Hi Matthew,

    enhancement WJ-8561 is also added in Wisej release 1.4.50.

    Best regards
    Frank

  6. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Matthew Ferry answered 2017-11-16 01:39:17 UTC

    Thank you Frank !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    GeneralQuestions, how-tos and everything else.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions