Re: Hiding variables passed via URL
- From: "burgermeister01@xxxxxxxxx" <burgermeister01@xxxxxxxxx>
- Date: Mon, 14 Jul 2008 07:55:16 -0700 (PDT)
On Jul 14, 6:19 am, Jerry Stuckle <jstuck...@xxxxxxxxxxxxx> wrote:
The Natural Philosopher wrote:
Jerry Stuckle wrote:
The Natural Philosopher wrote:
sheldonlg wrote:
C. (http://symcbean.blogspot.com/) wrote:
On Jul 13, 7:13 am, The Natural Philosopher <a...@xxx> wrote:
Michael Fesser wrote:
.oO(The Natural Philosopher)Ah, it may be forbidden, but does it work? ;-)
Michael Fesser wrote:Sending POST data to another location must be triggered or at least
You can't redirect a POST request.Are you sure?
confirmed by the user. Automatically redirecting anything other than
GET or HEAD is explicitly forbidden by the HTTP spec ("MUST NOT")..
Micha
NO
Besides all that, a "hidden" variable is not really "hidden". A
"view source" will expose that variable. Session variables are,
indeed, the way to go.
well you can view cookies as well.
Frankly, though, I don't see the big problem. Since the OP is
passing in the error message, it is obviously to display it to the
user. Otherwise, why do it? If it is also in the URL, so what?
What does that have to do with this conversation? No one has
mentioned cookies until you did.
What else constitutes a 'session variable' apart from POST or GET data
or cookies?
Why do you keep bringing up unrelated topics?
Because they are related.
Because until you mentioned them, no one else said anything about cookies..
But then you don't understand that session variables aren't POST or GET
data or cookies.
Once again you bring up unrelated things because of your ignorance of
the subject.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@xxxxxxxxxxxxx
==================- Hide quoted text -
- Show quoted text -
Perhaps what he meant was that you COULD set a cookie on one script
and then initiate a redirect and view the contents of that cookie on a
second page.
Either way, since we are discussing using POST as a method for doing
this I thought I'd also put in my 2 cents:
You could coordinate PHP with Javascript. Have PHP set a hidden form
variable on one page, and then use Javascript to automatically submit
the form as soon as the page loads. But really, the simplest solution
would be good ole' session variables.
.
- Follow-Ups:
- Re: Hiding variables passed via URL
- From: Jerry Stuckle
- Re: Hiding variables passed via URL
- References:
- Hiding variables passed via URL
- From: chochote
- Re: Hiding variables passed via URL
- From: The Natural Philosopher
- Re: Hiding variables passed via URL
- From: Michael Fesser
- Re: Hiding variables passed via URL
- From: The Natural Philosopher
- Re: Hiding variables passed via URL
- From: Michael Fesser
- Re: Hiding variables passed via URL
- From: The Natural Philosopher
- Re: Hiding variables passed via URL
- From: C. (http://symcbean.blogspot.com/)
- Re: Hiding variables passed via URL
- From: sheldonlg
- Re: Hiding variables passed via URL
- From: The Natural Philosopher
- Re: Hiding variables passed via URL
- From: Jerry Stuckle
- Re: Hiding variables passed via URL
- From: The Natural Philosopher
- Re: Hiding variables passed via URL
- From: Jerry Stuckle
- Hiding variables passed via URL
- Prev by Date: Re: PDF versions of PHP books?
- Next by Date: Re: PDF versions of PHP books?
- Previous by thread: Re: Hiding variables passed via URL
- Next by thread: Re: Hiding variables passed via URL
- Index(es):
Relevant Pages
|