diff -r 8e4f57e62a40 docs/sessions.txt
a
|
b
|
It also has these three methods:
|
106 | 106 | * ``set_test_cookie()`` |
107 | 107 | Sets a test cookie to determine whether the user's browser supports |
108 | 108 | cookies. Due to the way cookies work, you won't be able to test this |
109 | | until the user's next page request. See "Setting test cookies" below for |
| 109 | until the user's next page request. See `Setting test cookies`_ below for |
110 | 110 | more information. |
111 | 111 | |
112 | 112 | * ``test_cookie_worked()`` |
113 | 113 | Returns either ``True`` or ``False``, depending on whether the user's |
114 | 114 | browser accepted the test cookie. Due to the way cookies work, you'll |
115 | 115 | have to call ``set_test_cookie()`` on a previous, separate page request. |
116 | | See "Setting test cookies" below for more information. |
| 116 | See `Setting test cookies`_ below for more information. |
117 | 117 | |
118 | 118 | * ``delete_test_cookie()`` |
119 | 119 | Deletes the test cookie. Use this to clean up after yourself. |