Function CSPResponse::Redirect()

Description:
Redirects the client to the a new URL, by sending a 302 HTTP header.

Prototype:
bool Redirect(const CSPString& strURL);

Arguments:
  • const CSPString& strURL [IN]
    Relative or absolute URL.



Return value:
If successful, it returns true. Otherwise it returns false.

Remarks:
This should function should be called before any data was sent to the client.

Examples:
Response.Redirect( "http://www.someurl.com/index.csp" );

See also:
member function Flush()
CSPResponse | Intrinsic objects and classes | Class Categories | Online help home | Back

www.micronovae.com

Copyright © 2002 - 2005 Micronovae Ltd