Dear All,
this is a simple problem in sessions
if we disable the cookie in the browser the php session will not be maintained
how can we overcome this one
regards bvsureshbabu
by appending the session id in each and every links...
?SESSID=
Quoted from PHP Manual: The session module supports both methods. Cookies are optimal, but because they are not always available, we also provide an alternative way. The second method embeds the session id directly into URLs. PHP is capable of transforming links transparently. Unless you are using PHP 4.2 or later, you need to enable it manually when building PHP. Under UNIX, pass --enable-trans-sid to configure. If this build option and the run-time option session.use_trans_sid are enabled, relative URIs will be changed to contain the session id automatically.
Quoted from PHP Manual:
The session module supports both methods. Cookies are optimal, but because they are not always available, we also provide an alternative way. The second method embeds the session id directly into URLs.
PHP is capable of transforming links transparently. Unless you are using PHP 4.2 or later, you need to enable it manually when building PHP. Under UNIX, pass --enable-trans-sid to configure. If this build option and the run-time option session.use_trans_sid are enabled, relative URIs will be changed to contain the session id automatically.
Dear Friend,
if you disable the cookies option in the browser the session will not be maintained
if you have any doubt test the same
yes, of course... session will not be maintained if cookie is disabled. That's why I posted a suggestion for you to embed session ID right to the URL and quoted some paragraph from PHP manual itself on how to solve such problem.
thanks for your suggestion