Redirect

<< Click to Display Table of Contents >>

Navigation:  Classes > TIWApplication > Methods >

Redirect

SIGNATURE=IWApplication.TIWApplication.Redirect@string@Boolean

 

ETYPE=Method

 

Declaration:

Delphi:

public procedure Redirect(const aURL: string; aReplaceUrl: Boolean); overload;

C++:

void public: __fastcall Redirect(const String aURL, bool aReplaceUrl);

 

Description: Redirect method will use window.location if redirecting to another site or will generate a POST request including session parameters if address is relative or points to the same domain/application. This is necessary to keep session after redirecting when cookies are not used