Biferno 1.7 Tabasoft.it

Application: ItaliaScuola Back-Office3
Reference
Admin | Edit | Reference | Cache | Logs
Click on a class name to see the description of that particular class:

Predefined Classes

ansi
array
biferno
boolean
cacheItem
char
classInfo
client
collection
curApp
curFile
curScript
db
double
error
file
folder
header
httpPage
imageUtils
int
long
memberInfo
multipart
object
ref
regexp
request
search
serverInfo
smtp
stackItem
string
time
unix
unsigned
 

Application Classes

Banner
BrowserBar
Ctrl_Form
FCKeditor
Form
GridChartGraph
Histogram
LocalDate
Result
condb
cookie
folderExt
headerExt
httpExt
mysqlFulltext
objHtml
requestExt
tableExport
utils
 

Functions

Functions

request

Method:

Redirect

static void Redirect(string url)

Redirects client request

Description:

The Redirect method, allows to redirect the request to a page other than the one currently executed. Example:

	request.Redirect("home.bfr")
	request.Redirect("/mysite/home.bfr")
	request.Redirect("http://www.mysite.com/home.bfr ")

Passing a complete URL to the Redirect method the request can be redirected to a page that resides on a remote server.

Parameters:
url

specifies the path of the page that should be requested. Can either be a path relative to the current script, or a path relative to the server or site root, or a complete URL

Notes:

To redirect requests, this method uses the following header response HTTP code:

HTTP/1.1 302 Found

if the client request used HTTP/1.0

HTTP/1.1 303 See other

if the client request used HTTP/1.1 or higher.

If you want to use other redirect techniches (i.e. HTTP/1.1 307 Temporary redirect) you can't use the Redirect method, but must modify the pageOut variable on your own, as in:

global pageOut.head.SetField("", "HTTP/1.1 307 Temporary redirect")

(the name "" is the name of the first line of the header, the response) and add the Location header field as in:

global pageOut.head.AddField("Location", myURL)

Implementation:
C
 

Return to the request class