Re: : session problem
| From: | H. J. Wils | Date: | Thu, 24 Jun 2004 15:56:38 +0000 |
| Subject: | Re: : session problem | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-34926@lists.php.net to get a copy of this message | ||
this is the output:
Array
(
)
very empty ;)
From: "Matt Matijevich" <matijevich@alliancetechnologies.net>
To: <double_u1@hotmail.com>, <php-db@lists.php.net>
Subject: Re: [PHP-DB] [PHP]: session problem
Date: Thu, 24 Jun 2004 10:50:01 -0500
MIME-Version: 1.0
Received: from stimpy.alliancetechnologies.net ([63.86.10.3]) by mc3-f33.hotmail.com with Microsoft SMTPSVC(5.0.2195.6824); Thu, 24 Jun 2004 08:51:21 -0700
Received: from NW0101DSM.ALLIANCETECHNOLOGIES.NET (nw0101dsm.alliancetechnologies.net [192.168.1.28])by stimpy.alliancetechnologies.net (8.11.6/8.11.6) with ESMTP id i5OFoID27643for <double_u1@hotmail.com>; Thu, 24 Jun 2004 10:50:18 -0500
Received: from ITGRP-MTA by NW0101DSM.ALLIANCETECHNOLOGIES.NETwith Novell_GroupWise; Thu, 24 Jun 2004 10:50:18 -0500
X-Message-Info: JGTYoYF78jGdnwFcx9O+QzEKQtzYKOwT
Message-Id: <s0dab1ea.051@NW0101DSM.ALLIANCETECHNOLOGIES.NET>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Return-Path: matijevich@alliancetechnologies.net
X-OriginalArrivalTime: 24 Jun 2004 15:51:22.0116 (UTC) FILETIME=[18D3EC40:01C45A03]
do you get any output on the second page if you do this?
<?php
session_start();
print '<pre>';
print_r($_SESSION);
print '</pre>';
if ( isset($_SESSION['logged_in'])){
echo "Welcome...";
}else{
header("location: user.php?action=9");
}
?>
_________________________________________________________________
Play online games with your friends with MSN Messenger http://messenger.msn.nl/