• 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
Mixing Direct Actions and maintaining session state
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mixing Direct Actions and maintaining session state


  • Subject: Mixing Direct Actions and maintaining session state
  • From: Karl Gretton <email@hidden>
  • Date: Wed, 05 Nov 2003 05:59:37 -0500

We have an application that needs to mix DirectActions for the purposes of book-marking and general performance improvements with stateless components to support a large number of users.

However, some pieces of the site are also secure and therefore the user needs to log-in and maintain a session with the application.

Using URL-based session state, the session context is lost when moving between DirectAction pages and regular WO pages.

What solutions have people found to this? We have two ideas and would like to have other peoples comments on them:-

1) Force WO to use a cookie for maintaining session state. While the DirectAction pages will ignore this (will they? or is there someway to still get at the session even though this is a DirectAction?) the session should be preserved when the user selects a link to a regular session-based WO page.

2) Pass the user's session ID around in the URL between DirectAction pages but don't require them. Therefore, the DA pages will still work for people without a session and of someone bookmarks the page, somehow the DA page can ignore the session and/or pass the session information to regular pages/

Any other ideas or comments?

Karl
_______________________________________________
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.

  • Prev by Date: Re: Solution to Xcode Opening EOModel in Window?
  • Next by Date: Re: How to turn on -deprecation in Xcode?
  • Previous by thread: Re: Newbie Question:WOCheckBox
  • Next by thread: Re: Mixing Direct Actions and maintaining session state
  • Index(es):
    • Date
    • Thread