Need help with session.terminate.com
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