[This is preliminary documentation and is subject to change.]

Provides access to session-state values as well as session-level data about the HTTP request.

Namespace:  Facebook.Web
Assembly:  Facebook (in Facebook.dll) Version: 0.2009.4.13 (0.2009.4.13)

Syntax

C#
[SerializableAttribute]
public class FacebookHttpSession : SessionInfo, 
	ISessionInfo, IDictionary<string, Object>, ICollection<KeyValuePair<string, Object>>, 
	IEnumerable<KeyValuePair<string, Object>>, IEnumerable
Visual Basic (Declaration)
<SerializableAttribute> _
Public Class FacebookHttpSession _
	Inherits SessionInfo _
	Implements ISessionInfo, IDictionary(Of String, Object),  _
	ICollection(Of KeyValuePair(Of String, Object)), IEnumerable(Of KeyValuePair(Of String, Object)),  _
	IEnumerable
Visual C++
[SerializableAttribute]
public ref class FacebookHttpSession : public SessionInfo, 
	ISessionInfo, IDictionary<String^, Object^>, ICollection<KeyValuePair<String^, Object^>>, 
	IEnumerable<KeyValuePair<String^, Object^>>, IEnumerable

Remarks

The FacebookHttpSession serves the same purpose for web applications as SessionInfo does for desktop applications, and it can also be used to manage session state for FBML web applications. For FBML web applications, using the customary HttpSessionState object is not an option since the ASP.NET session will not be persisted between requests.

Inheritance Hierarchy

System..::.Object
  Facebook.Api..::.FacebookObjectBase
    Facebook.Api..::.SessionInfo
      Facebook.Web..::.FacebookHttpSession

See Also

FacebookHttpSession Members
Facebook.Web Namespace