Skip to content

Commit

Permalink
Fix link in app state article (#1507)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rick-Anderson authored and danroth27 committed Jun 24, 2016
1 parent d8e40ce commit 912787d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aspnet/fundamentals/app-state.rst
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ The ``IdleTimeout`` is used by the server to determine how long a session can be
.. note:: ``Session`` is *non-locking*, so if two requests both attempt to modify the contents of session, the last one will win. Further, ``Session`` is implemented as a *coherent session*, which means that all of the contents are stored together. This means that if two requests are modifying different parts of the session (different keys), they may still impact each other.

ISession
^^^^^^^^
^^^^^^^^^

Once session is installed and configured, you refer to it via HttpContext, which exposes a property called ``Session`` of type `ISession <https://docs.asp.net/projects/api/en/latest/autoapi/Microsoft/AspNetCore/Http/Features/ISession/index.html>`__. You can use this interface to get and set values in ``Session``, as ``byte[]``.
Once session is installed and configured, you refer to it via HttpContext, which exposes a property called ``Session`` of type :dn:iface:`~Microsoft.AspNetCore.Http.ISession`. You can use this interface to get and set values in ``Session``, such as ``byte[]``.

.. code-block:: c#
Expand Down

0 comments on commit 912787d

Please sign in to comment.