Re: ERRest and sessions?
Re: ERRest and sessions?
- Subject: Re: ERRest and sessions?
- From: Jesse Tayler <email@hidden>
- Date: Wed, 01 Feb 2012 22:18:55 -0500
yes, I was just noticing that I should add something like
public String domainForIDCookies() {
return "/";
}
unless my first test was wrong, that hasn't worked for me.
but I'll keep trying, I have an unfortunate deployment turnaround time situation going on here...have to modernize that for sure...
On Feb 1, 2012, at 9:54 PM, George Domurot wrote:
> This may be related to your Session.domainForIDCookies.
>
> You may need to override this (when !isDevelopmentMode()) — also, consider setting it to er.extensions.ERXApplication.replaceApplicationPath.replace.
>
> -G
>
> On Feb 1, 2012, at 6:11 PM, Michael Kondratov wrote:
>
>> I am having a same issue!!! It looks like session needs to be in URL for wo to work.
>>
>> Michael Kondratov
>>
>> Sent from my iPhone
>>
>> On Feb 1, 2012, at 20:18, Jesse Tayler <email@hidden> wrote:
>>
>>>
>>> I just deployed ERRest with apache rules to shorten URLs
>>>
>>> I can't get sessions to stick.
>>>
>>> static pages /wa/ and /ra/ work as expected
>>>
>>> but session pages /wo/ show up but navigate back to Main page when clicking and there's no error, which seems like the session just isn't getting kept.
>>>
>>> Safari didn't let me check the cookies very well, or they moved the editor that used to be there...even firefox didn't seem to show me my cookie situation or I could not find it...
>>>
>>> Do I need to do something other than:
>>>
>>> setStoresIDsInURLs(false);
>>> setStoresIDsInCookies(true);
>>>
>>> To let the shortening work properly?
>>>
>>>
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden