On Mon, May 03, 2004 at 01:13:11AM -0400, John W. Holmes wrote:
> Michael R. Wayne wrote:
> >
> >
> >
> >
>
> Try adding in a hidden element
>
>
>
> You're relying on PHP rewriting your forms, links, etc, to include the
> session id, but that doesn't seem to be happening.
I
* Thus wrote Michael R. Wayne ([EMAIL PROTECTED]):
>
> I suspect I'm missing something obvious, any pointers?
>
> /\/\ \/\/
>
> if (!session_is_registered("stage")) {
>$_SESSION["stage"] = 0;
>$_POST['field'] = "";
>session_register("stage");
>}
Caution
If you are using $_SE
Michael R. Wayne wrote:
Try adding in a hidden element
You're relying on PHP rewriting your forms, links, etc, to include the
session id, but that doesn't seem to be happening.
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect:
On Mon, May 03, 2004 at 06:55:25AM +0200, Richard Harb wrote:
> If the sample of code is the whole page... where do you actually start
> your session?
I am using session.auto_start, which starts it for me. I added a
session_start while testing and it made no difference.
> session_is_registered()
If the sample of code is the whole page... where do you actually start
your session?
I didn't see a session_start() anywhere.
AFAIK the $_SESSION var doesn't exist until you do just that.
session_is_registered(): mabe I'm reading the documentation wrong, but
I interpret this function as checking
On Mon, May 03, 2004 at 12:54:54AM -0400, John Nichel wrote:
> Michael R. Wayne wrote:
>
> >As I posted last week, I seem unable to have sessions persist. I
> >have ruled out https as a problem, the following simple script,
> >installed as xxx.php will generate a new session number every time
> >
Michael R. Wayne wrote:
As I posted last week, I seem unable to have sessions persist. I
have ruled out https as a problem, the following simple script,
installed as xxx.php will generate a new session number every time
the field is filled in and "Submit" is hit.
Note that I am not using cookies,
7 matches
Mail list logo