Re: session not working on a php page
- From: Suman <YoSumo@xxxxxxxxx>
- Date: Sun, 13 Apr 2008 19:09:50 -0700 (PDT)
I have tried the new code
<?php
session_start();
if (isset($_SESSION['counter']))
$_SESSION['counter']++;
else
$_SESSION['counter'] = 1;
echo $_SESSION['counter'];
?>
enabled the error trapping and there is no errors.
There is no output before the session_start, the code is as is on the
php page. I have had a loook through firebug and the cookie is there
too.
Can someone use this code on a webpage and refresh the page to see if
it works. If it does can you please send me a link. Would be great
help, this is killing me :)
Kind regards
Suman
.
- Follow-Ups:
- Re: session not working on a php page
- From: C. (http://symcbean.blogspot.com/)
- Re: session not working on a php page
- From: Jerry Stuckle
- Re: session not working on a php page
- References:
- session not working on a php page
- From: Suman
- Re: session not working on a php page
- From: C. (http://symcbean.blogspot.com/)
- session not working on a php page
- Prev by Date: good price !!! china wholesale cheap gucci prada sneakers cheap polo T-shirts etc
- Next by Date: Re: sending mail from localhost to yahoo, gmail, hotmail, etc
- Previous by thread: Re: session not working on a php page
- Next by thread: Re: session not working on a php page
- Index(es):
Relevant Pages
|