/    Sign up×
Community /Pin to ProfileBookmark

Session values is not maintained in all the pages using I-mode HTML simulator 2

Hi
I am developing Amazon web service API.I am developing this in mobile . Session maintenance is an important for this project.I can’t maintain session values page by page.If i brows in IE it is working properly but when i test in I-mode HTML simulator it is not working.
So i maintained the session values in the following manner

[code=php]<?php
ini_set(“session.use_trans_sid”,1);
session_start();
?>[/code]

But the session values are passed in the URL.The session id is visible to the user .I think it is not good idea and i dont like to get the values from cookies also .How can i maintain the session using store and retrieving from the file (ie,session.save_path = “c:/wamp/tmp”). This method is working fine in IE and other browser but it is not working in I-mode HTML simulator II.Here is the code i tested

[code=php]<?php
session_start();
?>[/code]

But every time new session id is generated only in simulator but working fine in all other browser

to post a comment
PHP

0Be the first to comment 😎

×

Success!

Help @shareme spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.3,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...