Type represents the MobileProfile context of the currently requesting device. Developer can use the properties and methods
to perform read/write custom data and can be shared across the sessions but from a same device. MobileProfile context can
be accessed using the property MobileProfile.
Namespace: FiftyOne.Framework.Mobile.Profile
Examples
Following code demonstrates how to access ProfileBase object which represents the MobileProfile context of
the currently requesting device.
CopyC#
this.MobileProfile["LAST_LOGIN_AT"] = DateTime.Now.ToString();
Assembly: FiftyOne.Framework (in FiftyOne.Framework.dll) Version: 2.0.2.1 (2.0.2.1)
Syntax
| C# |
|---|
public class ProfileBase |
| Visual Basic |
|---|
Public Class ProfileBase |
| Visual C++ |
|---|
public ref class ProfileBase |
Remarks
The following three definitions are important to the understanding of mobile profile.
UserData - this is data provided by the developer via the default collection of the class. For example MobileProfile["key"] = "value" from the page class.
Control Data - used internally by 51Degrees.mobi to store mobile profile data from controls.
Page State Data - contains the View State if the Mobile Profile has been configured to store view state in the Mobile Profile.