• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Back Track too far on first click of a link
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Back Track too far on first click of a link


  • Subject: Re: Back Track too far on first click of a link
  • From: Greg Hulands <email@hidden>
  • Date: Tue, 19 Aug 2008 12:29:09 -0700

It turns out I had a page that was getting created with new Page() instead of page with name. It was in a helper class so now I call

WOApplication.application().pageWithName(page, directActionsContext);

But I am now getting a session timed out on the first click, yet the session is the same - no new ones are being created.

I'm pulling my hair out on this one!

Thanks for the help,
Greg



On 19/08/2008, at 12:11 PM, Dov Rosenberg wrote:

It sounds like your page jumped sessions somehow. Keep track of your session
ID as you click around and see if it changes.


In your email the session ID is BDbwssiqZnhsHsSxmN1qQg (the part between wo/
and /0.0.3


Dov Rosenberg



On 8/19/08 2:12 PM, "Chuck Hill" <email@hidden> wrote:


On Aug 19, 2008, at 10:36 AM, Greg Hulands wrote:

Hi,
I'm having a problem with the first page I display contains about 5
or 6 links and when I hit any of them I get a page backtracked too
far error. So I upped the page cache to 1,000,000 and it still does
the same thing. I searched the archives but most of these problems
in the past has been navigation problems after a multitude of
navigation, so the problem I'm seeing doesn't fit.

I have noticed in the context when the application gets the
handlePageRestorationErrorInContext() that the

requestSenderID= 0.3.19

but the URI coming in is

/cgi-bin/WebObjects/App.woa/-4300/wo/BDbwssiqZnhsHsSxmN1qQg/0.0.3.19

Notice that it is dropping the first 0. from there.

No. 0.3.19 is the senderID, the initial 0 is the ContextID. What you
are seeing is correct.



Another thing I have seen is that the contextID is now 2. I would
have thought it would be 1 - 0 for the first page we returned and
now it would be 1 for the second.

It goes up one for every R-R loop.


Below is the complete context dump.

Any insight into what is going on is greatly appreciated.


Offhand, I am not sure what the problem is.


Chuck





<MyWOContext contextID=2 requestSenderID=0.3.19 elementID=null sessionID=BDbwssiqZnhsHsSxmN1qQg request=<com.webobjects.appserver.WORequest (<com.webobjects.appserver.WORequest httpVersion=HTTP/1.1 headers={remote_host = (::1); user-agent = (Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_4; en-us) AppleWebKit/525.18 (KHTML, like Gecko) PhotoServices 1.0 (1.0)); cookie = (layout=coverflow; s_nr=1218771364124); document_root = (/Library/WebServer/Documents); server_name = (localhost); accept = (text/xml,application/ xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/ png,*/*;q=0.5); x-webobjects-adaptor-version = ("Apache"); remote_addr = (::1); referer = (http:/localhost/cgi-bin/WebObjects/ FROrderInitializer.woa/-4300/wa/initializeOrder); remote_port = (55967); x-webobjects-request-id = (48aa4521000002e60000000d); server_admin = (email@hidden); server_software = (Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.7l DAV/2 PHP/5.2.6); script_filename = (/cgi-bin); x-webobjects-request-method = (GET); accept-encoding = (gzip, deflate); server_port = (0); host = (localhost); accept-language = (en-us); connection = (close); } content-length=0 cookies=null userInfo=null>) method=GET uri=/cgi- bin/WebObjects/App.woa/-4300/wo/BDbwssiqZnhsHsSxmN1qQg/0.0.3.19 defaultFormValueEncoding=ISO8859_1 formValueEncodingDetectionEnabled=NO formValueEncoding=ISO8859_1 formValues={} > response=null pageElement=null pageComponent=null currentComponent=null url=/cgi-bin/WebObjects/App.woa/-4300 urlApplicationNumber=-4300 distributionEnabled=false pageChanged=false pageReplaced=false>

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
.
net


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
  • Follow-Ups:
    • Re: Back Track too far on first click of a link
      • From: Chuck Hill <email@hidden>
References: 
 >Re: Back Track too far on first click of a link (From: Dov Rosenberg <email@hidden>)

  • Prev by Date: Re: Owns Destination problem
  • Next by Date: eclipse crashing
  • Previous by thread: Re: Back Track too far on first click of a link
  • Next by thread: Re: Back Track too far on first click of a link
  • Index(es):
    • Date
    • Thread