• 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: directaction new session created
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: directaction new session created


  • Subject: Re: directaction new session created
  • From: Chuck Hill <email@hidden>
  • Date: Thu, 29 Jul 2004 09:11:19 -0700

WOHyperlink's with pageName

That would do it. The pageName binding is a component action. Component actions require sessions. You will need to change these to only use the direct action bindings. This will require to you create a direct action to return the page you are currently creating with the pageName binding.



Chuck


On Jul 29, 2004, at 8:16 AM, Michael Engelhart wrote:

Nothing really. In my navigation component I just have two WOHyperlink's with pageName and title attributes.

Thanks
Mike
On Jul 29, 2004, at 9:09 AM, Jonathan Fleming wrote:




From: Michael Engelhart <email@hidden>
To: WebObjects (Group) <email@hidden>
Subject: directaction new session created
Date: Thu, 29 Jul 2004 08:03:09 -0500

Hi -

I have a Direct Action that does some db lookups and returns a result set to a page. This result page has one WOComponent that is just a simple menu bar with no state. There are no ivar's in it and it's really just a bare bones html set of links that act as a site menu bar.

I have a log in my session class that's showing that the page is creating a new session every time someone follows the link regardless of if they entered through the home page and already have a session or if they get to the page via the Direct Action (say through a bookmark).

So to isolate why this might be happening I took out the simple navigation component and my sessions stopped getting created. I put it back in and they get created. I also tried just pasting the navigation component's HTML into the page and that also prevented the session from being created.

What's in your bindings? Have you had a look at those yet?

Any ideas on why this simple stateless navigation component would generate a session?? I even tried over-riding isStateless() to return true in the navigation bar component but that didn't change anything.

Thanks
Mike
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.



_________________________________________________________________
Stay in touch with absent friends - get MSN Messenger http://www.msn.co.uk/messenger
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: directaction new session created
      • From: Michael Engelhart <email@hidden>
References: 
 >RE: directaction new session created (From: "Jonathan Fleming" <email@hidden>)
 >Re: directaction new session created (From: Michael Engelhart <email@hidden>)

  • Prev by Date: Re: how do i say that in EOModeler
  • Next by Date: Re: directaction new session created
  • Previous by thread: Re: directaction new session created
  • Next by thread: Re: directaction new session created
  • Index(es):
    • Date
    • Thread