Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
25bd905e
Commit
25bd905e
authored
Oct 02, 2014
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Finished cookie and session section.
parent
e6e83998
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
7 deletions
+8
-7
README.md
docs/guide/README.md
+1
-1
runtime-requests.md
docs/guide/runtime-requests.md
+2
-2
runtime-responses.md
docs/guide/runtime-responses.md
+3
-2
runtime-sessions-cookies.md
docs/guide/runtime-sessions-cookies.md
+0
-0
start-installation.md
docs/guide/start-installation.md
+1
-1
translation-status.md
docs/internals/translation-status.md
+1
-1
No files found.
docs/guide/README.md
View file @
25bd905e
...
...
@@ -52,7 +52,7 @@ Handling Requests
*
[
Routing
](
runtime-routing.md
)
*
[
Requests
](
runtime-requests.md
)
*
[
Responses
](
runtime-responses.md
)
*
**TBD**
[
Sessions and Cookies
](
runtime-sessions-cookies.md
)
*
[
Sessions and Cookies
](
runtime-sessions-cookies.md
)
*
[
URL Parsing and Generation
](
runtime-url-handling.md
)
*
[
Handling Errors
](
runtime-handling-errors.md
)
*
[
Logging
](
runtime-logging.md
)
...
...
docs/guide/runtime-requests.md
View file @
25bd905e
...
...
@@ -3,8 +3,8 @@ Requests
Requests made to an application are represented in terms of
[
[yii\web\Request
]
] objects which provide information
such as request parameters, HTTP headers, cookies, etc. For a given request, you can get access to the corresponding
request object via the
`request`
[
application component
](
structure-application-components.md
)
. In this section,
we will describe how you can make use of this component in your applications.
request object via the
`request`
[
application component
](
structure-application-components.md
)
which is an instance
of
[
[yii\web\Request
]
], by default. In this section,
we will describe how you can make use of this component in your applications.
## Request Parameters <a name="request-parameters"></a>
...
...
docs/guide/runtime-responses.md
View file @
25bd905e
...
...
@@ -5,8 +5,9 @@ When an application finishes handling a [request](runtime-requests.md), it gener
and sends it to the end user. The response object contains information such as the HTTP status code, HTTP headers and body.
The ultimate goal of Web application development is essentially to build such response objects upon various requests.
In most cases you should mainly deal with the
`response`
[
application component
](
structure-application-components.md
)
.
However, Yii also allows you to create your own response objects and send them to end users.
In most cases you should mainly deal with the
`response`
[
application component
](
structure-application-components.md
)
which is an instance of
[
[yii\web\Response
]
], by default. However, Yii also allows you to create your own response
objects and send them to end users as we will explain in the following.
In this section, we will describe how to compose and send responses to end users.
...
...
docs/guide/runtime-sessions-cookies.md
0 → 100644
View file @
25bd905e
This diff is collapsed.
Click to expand it.
docs/guide/start-installation.md
View file @
25bd905e
...
...
@@ -51,7 +51,7 @@ Installing from an Archive File <a name="installing-from-archive-file"></a>
Installing Yii from an archive file involves three steps:
1.
Download the archive file from
[
yiiframework.com
](
http
s://github.com/yiisoft/yii2/releases/download/2.0.0-rc/yii-basic-app-2.0.0-rc.tgz
)
.
1.
Download the archive file from
[
yiiframework.com
](
http
://www.yiiframework.com/download/
)
.
2.
Unpack the downloaded file to a Web-accessible folder.
3.
Modify the
`config/web.php`
file by entering a secret key for the
`cookieValidationKey`
configuration item
(this is done automatically if you are installing Yii using Composer):
...
...
docs/internals/translation-status.md
View file @
25bd905e
...
...
@@ -30,7 +30,7 @@ runtime-bootstrapping.md | Yes
runtime-routing.md | Yes
runtime-requests.md | Yes
runtime-responses.md | Yes
runtime-sessions-cookies.md |
runtime-sessions-cookies.md |
Yes
runtime-url-handling.md |
runtime-handling-errors.md |
runtime-logging.md |
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment