
532
|
Chapter 28: The System.Web.Mobile Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
CookielessData
System.Web.Mobile (system.web.mobile.dll)
.NET 1.1
class
Many mobile devices do not support cookies. Fortunately, ASP.NET provides a
mobile implementation of forms authentication and session state that does not require
cookies, and embeds information into the URL instead. The CookielessData class is used
internally to store and retrieve this information. You will not use the CookielessData class
directly.
Hierarchy
System.Object ➝ System.Collections.Specialized.HybridDictionary(System.Collections.IDic-
tionary, System.Collections.ICollection, System.Collections.IEnumerable)
➝ CookielessData
ErrorHandlerModule
System.Web.Mobile (system.web.mobile.dll)
.NET 1.1
class
This module is used internally by ASP.NET to deal with unhandled exceptions. In the
case of an exception, ASP.NET will return a page with a short error message (much as
in a standard ASP.NET web page). The error message will be automatically formatted
to the target device’s expected markup. For WML devices, this will be a card deck. For
HTML devices, this will be a page of HTML.
The automatically generated error messages are useful while debugging, but may not
be shown to remote clients (depending on your settings in the web.config file). A better
option is to write