This repository has been archived by the owner on Nov 9, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Redirector
Alexanderius edited this page Sep 20, 2014
·
1 revision
Redirector
is a class which providers a client redirection.
You can redirect client to specified URL or by redirection type.
Available redirection types:
-
RedirectUrl
- redirects client to specified URL:Redirector.Redirect(RedirectionType.RedirectUrl, "http://someurl")
; -
PreviousPage
- redirects client to previous visited page (after each request framework stores current visited URL in client cookie(unit session ends)). If there is no previous page URL, then client will be redirected to default page; -
PreviousPageWithBookmark
- the same asPreviousPage
but you can also specify a bokmark on that page; -
CurrentPage
- redirects client to current page (refresh the page); -
DefaultPage
- redirects client to default page (site root).
It is recommended to use respective Redirect
controller response instead of Redirector
directly.
- Getting Started
- Main AcspNet principles
- AcspNet controllers
- Controllers basics
- Controllers attributes
- Controllers routing
- Controllers responses
- Controllers properties
- Controllers model binding
- AcspNet views
- AcspNet templates
- Template factory
- Data collector
- String table
- File reader
- AcspNet context
- Environment
- Language manager
- Redirector
- HTML