php-groups.com | Post Question | Search | About | Groups | Contact | Register | Login


New in This Group

imap error
6/20/2000 4:58:17 PM

disconnect me from mail list!!!
6/19/2000 2:35:53 AM

compiling php4 with borland
6/16/2000 3:50:11 PM

More session question..
6/15/2000 4:53:28 PM

Session Question
6/14/2000 4:26:24 PM

Good snapshot?
6/13/2000 9:59:37 PM

httpd processes won't die since upgrade to PHP4
6/12/2000 6:13:49 AM

Problem getting binary data over http
6/10/2000 1:34:27 AM

Sessions don't survive redirects...
6/9/2000 4:15:47 PM

Session in MySQL and save_handler...
6/9/2000 4:09:35 PM

Sessions don't survive redirects... Reply

Group: php.version4 Subscribe Posted:6/9/2000 4:15:47 PM Replies:0 Views:25 Items(0)
This one is short and sweet. Sessions don't get stored in final, and i.php
shows NULL. I've succesfully used sessions in other situations with a test
script. Am I missing something here? auto_start = 1, save_handler = files. A
session file is created with !referrer in it but no value.

August




redirect.php:
----
$REQUEST_URI = getenv("REQUEST_URI");
$url_array=explode("/", $REQUEST_URI);
session_register("referrer");
$referrer = $url_array[2];
header("Location: http://www.cashwars.com/i.php");
exit();

i.php
------
echo $HTTP_SESSION_VARS["referrer"];
var_dump($HTTP_SESSION_VARS["referrer"]);

augu...@bigfoot.com ("August Zajonc")
6/9/2000 4:15:47 PM





Reply:
| or Email(not shown): Name: | Register | Login

Alert me when someone responds to this posting.











Newest Articles

note 97095 added to soapclient.soapclient
4/1/2010 5:58:19 AM

note 97094 added to function.sqlite-changes
4/1/2010 5:06:46 AM

note 97093 added to function.sqlite-changes
4/1/2010 5:06:21 AM

note 97092 added to ref.xmlrpc
4/1/2010 4:52:18 AM

note 97091 added to function.var-export
4/1/2010 3:32:03 AM