• 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
Need help with session.terminate.com
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Need help with session.terminate.com


  • Subject: Need help with session.terminate.com
  • From: "Gamache, Don" <email@hidden>
  • Date: Tue, 19 Oct 2004 10:01:41 -0700

> I have a web page that has an Exit button that calls a function to update
> the contact log table with the timestamp when the user exits the
> application.  This function updates the table, does a saveChanges command
> and then a session().terminate command and return command to take the user
> to a different URL.  This caused an Error "Attempt to send message to an
> object after its editing context was disposed."  Reason:  "Attempt to send
> message to an object after its editing context was disposed.  EOGlobalID
> was: _EOIntegerKeyGlobalID[COntact(java.lang.Integer)52]."  Its like the
> it terminated before the update was done.  I got around this by doing the
> saveChanges on the current component and taking the user to another
> component where I then do the session(). terminate after they selected the
> link to the Home URL page.  Is there a way to do a save.Changes and
> session().terminate together so I don't have to create more interaction
> with the user?  Thanks to anyone who can help.
>
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Need help with session.terminate.com
      • From: Colin Clark <email@hidden>
  • Prev by Date: killing running instance on WebServer... don't want to die ?
  • Next by Date: Re: killing running instance on WebServer... don't want to die ?
  • Previous by thread: Re: killing running instance on WebServer... don't want to die ?
  • Next by thread: Re: Need help with session.terminate.com
  • Index(es):
    • Date
    • Thread