• Post Reply Bookmark Topic Watch Topic
  • New Topic

Session Tracking in WAP  RSS feed

 
Danish Shaukat
Ranch Hand
Posts: 341
  • Mark post as helpful
  • send pies
  • 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 ]
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • 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
 
Siddhartha Bhattacharya
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use URL Rewriting for session tracking.
 
Aijaz Soomro
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!