> From: Fernandez-Moreno, Miguel-Angel [mailto:[EMAIL PROTECTED]]
> Hi all, u know how to keep the sessions when u send WML to a
> GateWay WAP?
> how can i know if the mobile has connected earlier??
> Thanks in advance...
Personalization is a must for WML/HDML applications.
For one session you don't have a problem, or choice:
you must store state in the Session on the server or
you can Embed session ID in the URL
(Use HttpServletResponse.encodeURL())
Incorrect approaches will be to store state in cookies, because
Not all WAP gateways support cookies. You could store state in the URL
but there is a size limitation for many devices.
But, your real question is actually: How to ID users without typing.
Right?
Well, there is no easy answer for that. Some phones and gateways pass a
unique ID. You can always use URL encoding like:
http://wap.***.com/resource?ID=XXX&PWD=YYY
and users can save bookmark in that form, but please DO NOT use that
with financial application :)
--Srdjan
--------------------
Srdjan Pantic
ASU Consulting, Inc.
3333 Bowers Ave, # 160
Santa Clara, CA 95054
phone (408) 654 7813
fax (408) 654 7820
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets