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

Gets a reference to the FacebookHttpRequest object for the current HTTP request.

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

Syntax

C#
public static FacebookHttpRequest Current { get; internal set; }
Visual Basic (Declaration)
Public Shared Property Current As FacebookHttpRequest
Visual C++
public:
static property FacebookHttpRequest^ Current {
	FacebookHttpRequest^ get ();
	void set (FacebookHttpRequest^ value);
}

Remarks

In order to provide stable functionality across both FBML and IFrame applications, the data found in FacebookHttpRequest is stored in several places.

First, it is stored in Items, which is scoped at the request-level. This provides functionality for the duration of the request, and for FBML applications, is the only place the data is required to be stored.

The data is also stored in a session variable, which allows IFrame applications to access the data between requests without requiring the information to be manually appended to the querystring on each link and redirect.

Finally, the information is also serialized into an HTTP cookie, which allows the information to be retrieved in the event of an application recycle event during the course of a user's session.

See Also

FacebookHttpRequest Class
Facebook.Web Namespace