Re: SESSION var and Objects problem
| From: | Stuart Dallas | Date: | Fri, 02 Mar 2012 21:06:54 +0000 |
| Subject: | Re: SESSION var and Objects problem | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-316855@lists.php.net to get a copy of this message | ||
Please quote the pertinent bit of the message you're replying to, it makes using the list a
halluvalot easier and improves SEO for the archives.
On 2 Mar 2012, at 20:55, Jim Giner wrote:
> Yes I ahve the class defined. The classes work in most cases - just this one place where I
> want to save the objects in a sess var for re-use fails me.
Put the following line at the top of the code that you posted and post the output.
echo '<pre>'; var_dump($_SESSION['TMScurr_evts']);
die('</pre>');
Have you checked your error log, or your error settings? Scripts generally don't stop executing
for no reason or without saying why.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/