• 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: Session log-out on Snow Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Session log-out on Snow Leopard


  • Subject: Re: Session log-out on Snow Leopard
  • From: "Stephen J. Butler" <email@hidden>
  • Date: Thu, 8 Oct 2009 00:31:39 -0500

On Tue, Oct 6, 2009 at 7:02 AM, Etienne Henri <email@hidden> wrote:
>  Since Mac OS X 10.0, killing the loginwindow process had been the way to
> terminate a session. As far as I know, all other methods allow the user to
> cancel (or at least postpone) the log-out which is unacceptable in my case.
>  Does anyone know a way to terminate a session that would work with OS X
> 10.6? This is not a Cocoa issue per se, but maybe the 10.6 Framework has a
> new "terminateSession" method I overlooked :)

The preferred way to do this has been, for as long as I remember,
sending SIGTERM or SIGKILL (impolite) to all the user processes and
then kAEReallyLogOut to {0,kSystemProcess}.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Session log-out on Snow Leopard (From: Etienne Henri <email@hidden>)

  • Prev by Date: Re: IB creating NULL outlet...
  • Next by Date: Re: app delegate +initialize
  • Previous by thread: Session log-out on Snow Leopard
  • Next by thread: Re: Session log-out on Snow Leopard
  • Index(es):
    • Date
    • Thread