Re: use SESSION variable?
- From: Tim Roberts <timr@xxxxxxxxx>
- Date: Mon, 30 Jun 2008 03:21:55 GMT
"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.
.
- Follow-Ups:
- Re: use SESSION variable?
- From: Michael Fesser
- Re: use SESSION variable?
- From: sheldonlg
- Re: use SESSION variable?
- References:
- use SESSION variable?
- From: Twayne
- use SESSION variable?
- Prev by Date: Re: what does two semicolns ';;' do
- Next by Date: Re: XAMMP on OpenSuse
- Previous by thread: Re: use SESSION variable?
- Next by thread: Re: use SESSION variable?
- Index(es):
Relevant Pages
|