Posted by Jerry Stuckle on 05/30/06 13:32
pepito3@gmail.com wrote:
>>I think you need to read up on how a browser and web server interact
>>some more. This is pretty basic stuff but you seem to be missing some
>>key concepts based upon the type of questions you are asking.
>
>
>>The 'list_product.php' may be *any* valid url string.
>>That includes:
>>URLs that are not absolute.
>>Different urls based upon code.
>>URLS that include get operators.
>>URLS that are mod_mapped.
>
>
> My question is much simpler (and I understand how a http server works),
> maybe I didn't explain myself very well:
>
> If I used redirect(X) I would have to store X in $_POST or $_SESSION
> arrays so that add_product.php can get that X. That's something I can't
> do as an action performed when the user clicks on a link. So how can I
> do that?
>
You can't just store it in the $_POST variable; a new page will wipe out any
values here. But storing them in $_SESSION works fine (as long as you don't
change domains).
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|