InPrivate Property  
 

Enables or disables private browsing for the current session.

Syntax

object.InPrivate [= value ]

Remarks

The InPrivate property returns whether the browser session is using private (incognito) browsing. If this property is True, the user profile is not persisted beyond the current session. Browsing and search history will not be preserved, all cookies are temporary, data entered in form fields will not be saved and passwords will not be stored. If the DataFolder property has been set to specify a folder path for the session profile, setting this property to True will cause the control to create a unique, temporary folder in that location. Any general location information used by the browser is cleared when the application is closed.

This property can only be set in design mode or from within the Initialize event. After an instance of the browser is created, attempting to change this property will result in an error.

Data Type

Boolean

See Also

InPrivate Property, Initialize Event