-
-
Notifications
You must be signed in to change notification settings - Fork 9
Redirector
Redirector
is the class which providers a client redirection.
You can redirect client to a specified URL or by specifying a redirection type.
-
RedirectUrl
- redirects client to a specified URL:Redirector.Redirect(RedirectionType.RedirectUrl, "http://someurl")
; -
LoginReturnUrl
- redirects client to an URL stored on unauthorized page access after which client was redirected to login page; -
PreviousPage
- redirects client to a previous visited page (after each request framework stores current visited URL in a client cookie(until session ends)). If there is no previous page URL, then the client will be redirected to a default page; -
PreviousPageWithBookmark
- the same asPreviousPage
but you can also specify a bookmark on that page; -
CurrentPage
- redirects client to the current page (refreshes the page); -
DefaultPage
- redirects client to the default page (site root). -
It is recommended to use respective
Redirect
controller response instead ofRedirector
directly.
- Getting Started
- Main Simplify.Web principles
- Simplify.Web controllers
- Simplify.Web views
- Simplify.Web templates
- Simplify.Web configuration
- Templates variables
- Static content
- Template factory
- Data collector
- String table
- File reader
- Web context
- Environment
- Dynamic environment
- Language manager
- Redirector
- HTML