• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Session Tracking in WAP

 
Ranch Hand
Posts: 341
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all !
I am facing a very weird problem.
I have two Servlets, Test1 and Test2.
A session is created in Test1. A string is stored in the session. In Test2 i retrieve the stored string.
Now this works well if i use web browser. But if i use wap emulator i am unable to retrieve the stored object. When using the emulator i get message that the session is null.
It seems that when using the emulator the servlet cannot get hold of the session instance created in the first servlet.
All data is being output on console. The browsers are just being used to access the servlets.
Why is this so ?
Regards
--Danish
[ April 28, 2003: Message edited by: Danish Shaukat ]
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That would indicate that the WAP emulator is not saving cookies. Does the WAP standard provide for cookies at all?
Bill
 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Use URL Rewriting for session tracking.
 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i think , that there is option in the toolkit of nokia mobile internet toolkit, that enable the cookies, so u enable cookies,then ur session will work i think so
 
reply
    Bookmark Topic Watch Topic
  • New Topic