HOME       >>       Programming

Php Location Header No Send Session Id ?


magiccode91405241511

Hi, All


I got more question on header function.

re-read the php documentation and notice an term that said as

Note: Session ID is not passed with Location header even if session.use_trans_sid is enabled. It must by passed manually using SID constant.

What that means ?

I have used two seperate script : src.php and target.php

something like this:


<< src.php >>
session_start();header('Location: /target.php');

<< target.php >>
print_r($_REQUEST);

But it does the session id sent back from server to client, then,
it gets sent to server from browser and then showed on target.php


I get very confused about how that works !!

Any where have more information about this so I go to read more.

Thanks,
Eric,


VIEW DESKTOP VERSION REGISTERGET FREE HOSTING

Xisto.com offers Free Web Hosting to its Members for their participation in this Community. We moderate all content posted here but we cannot warrant full correctness of all content. While using this site, you agree to have read and accepted our terms of use, cookie and privacy policy. Copyright 2001-2019 by Xisto Corporation. All Rights Reserved.