• 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: Correct "Logout" Action
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Correct "Logout" Action


  • Subject: RE: Correct "Logout" Action
  • From: "Albert Jagnow" <email@hidden>
  • Date: Tue, 29 Jul 2003 16:19:19 -0500
  • Priority: normal
  • Thread-topic: Correct "Logout" Action

I have had a related question for a while, and I thought I would ask it
since the topic came up.  What if I don't want to direct the user to a
webobjects page after logout, just a normal url?  I used the following
code in my application:

public WOComponent logout(){
	session().terminate();
	WORedirect redirect = new WORedirect(context());
	redirect.setUrl("http://www.mysite.com/";);
	return redirect;
}

This code seems to work fine for the user, but I get an error in my
application output that says "No template found for component
WORedirect".  Can I safely ignore this message or is there a better way
to do this?

--Albert


This e-mail (including any attachments) is covered by the Electronic
Communications Privacy Act, 18 USC. 2510-2521. It is confidential and
may be legally privileged. If you are not the intended recipient, you
are hereby notified that any retention, dissemination, distribution, or
copying of this communication is strictly prohibited. Please reply to
the sender that you have received the message in error, and then delete
it. Thank you.
_______________________________________________
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.

  • Prev by Date: Re: Saving entities problem [SOLVED]
  • Next by Date: [OT] Webserver Statistics Tool
  • Previous by thread: Re: Correct "Logout" Action
  • Next by thread: Re: Correct "Logout" Action
  • Index(es):
    • Date
    • Thread