WMLPrograming list

9.2 Are Sessions supported in the WAP environment?

A common way of "handling" users in the HTML world is to assign a "session" to each user. This is sometimes done by assigning a unique identifier to each user through Cookies. Since the WAP environment has very limited support for cookies, sessions must be handled differently.

Another way of doing it is by the use of PHPlib for the very popular PHP script language. has provided the following excellent example on how to use PHPlib for authenticating and handling WAP users. Documentation is provided, and the code is commented. The archive is hosted at this site and available for download at

[ Main ]   [ 09 - Security ]