Re: use SESSION variable?



"Twayne" <nobody@xxxxxxxxxxxxxxxxxxx> wrote:

My actual question is: How do I get a POST variable into a session
variable so I can use it in any other page I want to use it in?
Apparently posted variables are only available in the Form page in
the file called by Action=, right? But I'd like to use it in other
places.

There are several ways to do this. A $_SESSION variable is one way, and in
many cases that's the most convenient. However, if you have a bunch of
pages with <form>s that succeed one another, it's also possible to pass
this kind of information as <input type=hidden> variables without the
overhead of a session.
--
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.
.



Relevant Pages

  • Re: Class to Class data transfer
    ... - Tim Roberts, timr@xxxxxxxxx ... Providenza & Boekelheide, Inc. ... Prev by Date: ...
    (microsoft.public.vc.language)
  • Re: nasm-question: get linear address
    ... - Tim Roberts, timr@xxxxxxxxx ... Providenza & Boekelheide, Inc. ... Prev by Date: ...
    (comp.lang.asm.x86)
  • Re: USB Camera Filter Driver
    ... how the IRP_KS_READ_STREAM ioctl works. ... Tim Roberts, timr@xxxxxxxxx ... Providenza & Boekelheide, Inc. ...
    (microsoft.public.development.device.drivers)
  • Re: a question about "return"
    ... Some people include one for completeness -- a coding standard ... Tim Roberts, timr@xxxxxxxxx ... Providenza & Boekelheide, Inc. ...
    (comp.lang.python)
  • Re: MSIE 7 and cookies
    ... Tim Roberts, timr@xxxxxxxxx ... Providenza & Boekelheide, Inc. ... Is this only for MSIE I suppose? ...
    (comp.lang.php)