IHttpSessionState.IsCookieless Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value indicating whether the session ID is embedded in the URL or stored in an HTTP cookie.
public:
property bool IsCookieless { bool get(); };
public bool IsCookieless { get; }
member this.IsCookieless : bool
Public ReadOnly Property IsCookieless As Boolean
Property Value
true
if the session is embedded in the URL; otherwise, false
.
Examples
The following code example implements the IsCookieless property of the IHttpSessionState interface.
public bool IsCookieless
{
get { return CookieMode == HttpCookieMode.UseUri; }
}
Public ReadOnly Property IsCookieless As Boolean Implements IHttpSessionState.IsCookieLess
Get
Return CookieMode = HttpCookieMode.UseUri
End Get
End Property
Remarks
For information on cookieless sessions, see Session Identifiers.
Applies to
See also
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.