Re: (General questions)

by wodDamir, (5636 days ago) @ dirk

Dirk,

Actually, that is the correct way to do it. The only other way is to return 301 or 302 (Moved or redirected) to browser, along with Location header, which will make browser do a request to URL specified in Location header. Something like this:

[code]User.Response.StatusCode = MovedPermanently
User.Response.Headers.Add Location , http://127.0.0.1/index2.htm [/code]

Both solutions should work however.

Regards,
Damba

locked

Complete thread: