Re: Developing with Apache and Cookies
Re: Developing with Apache and Cookies
- Subject: Re: Developing with Apache and Cookies
- From: Johnny Miller <email@hidden>
- Date: Thu, 18 Nov 2010 15:15:55 -1000
Thank you!
Maybe one more item on the Apache development docs synthesize list is that people should be encouraged to use localhost as opposed to 127.0.0.1?
On Nov 18, 2010, at 3:07 PM, Chuck Hill wrote:
> It works for me using localhost.
>
>
> On Nov 18, 2010, at 5:04 PM, Johnny Miller wrote:
>
>> Hi,
>>
>> Is there something special you need to do to get this to work?
>>
>> In the session object i have tried both
>>
>> public String domainForIDCookies() {
>> return "/cgi-bin/WebObjects/AppName.woa";
>> }
>>
>> and
>>
>> public String domainForIDCookies() {
>> return "/";
>> }
>>
>> I can see in my browser that the cookie gets created but the next time I go to read it the request object says there are no cookies? So, my app overwrites the old value.
>>
>> I'm using 127.0.0.1 as the domain name - not sure if that's the problem as in Safari it says the cookie's web site is .127.0.0.1
>>
>> TIA,
>>
>> Johnny Miller
>> Kahalawai Media Corp
>> http://www.kahalawai.com
>>
>>
>>
>> _______________________________________________
>> 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
>
> --
> Chuck Hill Senior Consultant / VP Development
>
> Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
> http://www.global-village.net/products/practical_webobjects
>
>
>
>
>
>
>
Johnny Miller
Kahalawai Media Corp
http://www.kahalawai.com
_______________________________________________
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