Re: Problems with login and multiple instances
Re: Problems with login and multiple instances
- Subject: Re: Problems with login and multiple instances
- From: Chuck Hill <email@hidden>
- Date: Sun, 10 Apr 2011 21:22:51 -0700
Hi Mark,
On Apr 10, 2011, at 3:43 PM, Mark Wardle wrote:
> Hi all,
>
> I'd previously written about this but despite considerable advice and
> help, I didn't make much progress although only just got around to
> taking Chuck Hill's advice overriding Application.displayRequest().
>
> My application is working perfectly except when I have multiple
> instances. I've also heard occasional reports of problems logging in
> only with a single instance although this is not reproducible. In both
> circumstances, the user is asked to login again despite entering
> correct credentials.
>
> === and now try to login again note the different instances ----
>
> Apr 10 21:46:56 RSNews[2002] DEBUG com.eldrix.news.app.Application -
> uri: /cgi-bin/WebObjects/RSNews.woa/2/wa/default
> Apr 10 21:47:06 RSNews[2003] DEBUG com.eldrix.news.app.Application -
> uri: /cgi-bin/WebObjects/RSNews.woa/3/wa/login
Is there a wosid cookie with a value of 2? That 2 / 3 difference seems very wrong.
> Apr 10 21:47:06 RSNews[2003] DEBUG com.eldrix.news.app.Application -
> form values = {destinationUrl =
> ("/cgi-bin/WebObjects/RSNews.woa/2/wa/default"); password = ("xxxx");
> username = ("mark"); }
> Apr 10 21:47:07 RSNews[2003] DEBUG com.eldrix.news.app.DirectAction -
> Redirecting to original requested url:
> /cgi-bin/WebObjects/RSNews.woa/2/wa/default
> Apr 10 21:47:07 RSNews[2003] DEBUG com.eldrix.news.app.DirectAction -
> Decoded url: /cgi-bin/WebObjects/RSNews.woa/2/wa/default
> Apr 10 21:47:07 RSNews[2003] DEBUG com.eldrix.news.app.DirectAction -
> Finally: redirecting to page:
> /cgi-bin/WebObjects/RSNews.woa/2/wa/default
>
--
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
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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