WCF and Redirect

Last post 06-18-2008 5:44 AM by Thomas Sun – MSFT. 1 replies.

Sort Posts:

  • WCF and Redirect

    06-16-2008, 12:44 AM
    • Participant
      1,738 point Participant
    • SuperGhost
    • Member since 12-29-2005, 4:58 PM
    • Palmdale CA, USA
    • Posts 409

    If using ASP.NET AJAX to call a WCF service is it possible to cause a redirect via the WCF service?

    Such as: Response.Redirect(...)

    Or would I have to do it through the client?

     

    Thanks

    ** Hope this helps!

    DennyDotNet
    Social42.com
  • Re: WCF and Redirect

    06-18-2008, 5:44 AM
    Answer

    Hi,

    Did you want to use Response.Redirect method in the WCF services? As far as I know, we cannot use it in services.

    In your case, you can redirect the user to another page basing on the value returned from WCF services.

     

    I hope this helps.

    Thomas Sun
    Microsoft Online Community Support

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.
Page 1 of 1 (2 items)