• 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: An Apps Session from a Framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: An Apps Session from a Framework


  • Subject: Re: An Apps Session from a Framework
  • From: Anjo Krank <email@hidden>
  • Date: Fri, 30 Apr 2004 07:26:58 +0200
  • Xx-reply-to: email@hidden

Am 30.04.2004 um 06:23 schrieb Jonathan Fleming:

I have a logout component that I want to put into a framework but it has references to session eg.
Session sess = (Session)session();
sess.setUser(null);
sess.setEntry(null);
sess.setUsername(null);
sess.terminate();


What is the best way to point this back to the calling app and therefore the session that wants to logout and terminate?

Why not do the more obvious thing and move that code to Session.terminate()? That would mean your logout component would be able to call


 session().terminate()

without referencing the other class.

Cheers, Anjo
_______________________________________________
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.


References: 
 >An Apps Session from a Framework (From: "Jonathan Fleming" <email@hidden>)

  • Prev by Date: Re: EOF & pgSQL join syntax
  • Next by Date: deploy webobjects in servlet
  • Previous by thread: Re: An Apps Session from a Framework
  • Next by thread: Re: An Apps Session from a Framework
  • Index(es):
    • Date
    • Thread