Why don't you try putting this PHP code at the top:
session_save_path("/home/sites/site29/tmp");
session_set_cookie_params(0, "/");
session_name("mycookie");
session_start();
Just make sure you create the tmp directory and set its permissions to 666:
chmod 666 /home/sites/site29/tmp
Also, I used site29 but you should use the site number on your system.
Herb
Jim Poe wrote:
> Rus Rasmussen wrote:
> >
> > Matt,
> >
> > Actually, nothing happens. I added the error_reporting( E_ALL ); feature as
> > Steve Werby suggested and still I get nothing. All I see when I run the
> > script is:
> >
> > * Counter initialized, please reload this page to see it increment
> > * The counter is now 0
> >
> > Then when I refresh it still says the same thing.
> >
> > I'm not very bright with this stuff but I appreciate the input. Any other
> > suggestions would be welcomed.
> >
> > Rus
>
> Rus,
> I think the "session_start();" statement must be the first statements in
> the script. Even before any html. That is the problem I had early on.
>
> Hope this helps
> Jim Poe
> DSL Data Services
>
> _______________________________________________
> cobalt-developers mailing list
> [EMAIL PROTECTED]
> http://list.cobalt.com/mailman/listinfo/cobalt-developers
--
Herb Rubin Pathfinders Software
[EMAIL PROTECTED] http://www.pfinders.com
phone: 650-692-9220 fax: 650-692-9250
_______________________________________________
cobalt-developers mailing list
[EMAIL PROTECTED]
http://list.cobalt.com/mailman/listinfo/cobalt-developers