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

An Apps Session from a Framework


  • Subject: An Apps Session from a Framework
  • From: "Jonathan Fleming" <email@hidden>
  • Date: Fri, 30 Apr 2004 05:23:58 +0100

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?

At present I get the obvious error:

cannot resolve symbol
symbol : class Session
location: class LogoutComponent
Session sess = (Session)session();
^
C:\AppleJavaProjects\MyFrameworks\ReusableComponents\ReusableComponents.build\derived_src_java\LogoutComponent.java:15: cannot resolve symbol
symbol : class Session
location: class LogoutPrefsLinksComponent
Session sess = (Session)session();


TIA
Jonathan :^)

_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today! 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.



  • Follow-Ups:
    • Re: An Apps Session from a Framework
      • From: Tom Blenko <email@hidden>
    • Re: An Apps Session from a Framework
      • From: Anjo Krank <email@hidden>
    • Re: An Apps Session from a Framework
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: EOF & pgSQL join syntax
  • Next by Date: Re: An Apps Session from a Framework
  • Previous by thread: Re: (SOAP) web services and how they are implemented
  • Next by thread: Re: An Apps Session from a Framework
  • Index(es):
    • Date
    • Thread