Re: Redirect after 5 seconds only if bolNeedToRedirect=True ?



Hello Jonathan,

"Delayed" page redirecting is a client side happening. Server side code is
not able to control when to redirect the page directly. It needs to write
some javascript code to client side, and let the client code finish the
redirecting.

The corresponding VB.NET code is:

Response.Write("<script>redirTimer();</script>")

(remove the ';' in the end of the C# code line)

Regards,
Jialiang Ge (jialge@xxxxxxxxxxxxxxxxxxxx, remove 'online.')
Microsoft Online Community Support

=================================================
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx

This posting is provided "AS IS" with no warranties, and confers no rights.
=================================================

.



Relevant Pages

  • RE: Can not communicate with WCF Windows Service
    ... ServiceReference1.Service1Client client = new ... Microsoft Online Community Support ... You can send feedback directly to my manager at: ...
    (microsoft.public.dotnet.framework)
  • Re: RPC Crash in Vista
    ... If the client is *abortively* cancelling the call ... RPC will notify the client once RpcAsyncCancelCall completes ... Microsoft Online Community Support ... You can send feedback directly to my manager at: ...
    (microsoft.public.win32.programmer.networks)
  • Re: Client unable to license
    ... The printers is checked on the client and on the server. ... Other clients are redirecting printers fine. ...
    (microsoft.public.windows.terminal_services)
  • Re: Preventing multiple form submissions (multiple postbacks)
    ... Redirecting to another page is a solution, ... What I'm dreaming of is a JavaScript client side method that will pop ... > page, where you can display some kind of confirmation message, etc. ... >> JavaScript hooked up to the page's OnSubmit event to catch mulitple ...
    (microsoft.public.dotnet.framework.aspnet)
  • OWA over SBS 2003.local
    ... I just finished my installation of SBS 2003 for a client and now can't get ... OWA to work properly from the outside web. ... redirecting mail.mydomain.com to this IP address, I'd like to be able to get ...
    (microsoft.public.windows.server.sbs)