Re: [PHP] Passing variables between pages
- From: tedd.sperling@xxxxxxxxx (tedd)
- Date: Mon, 22 Sep 2008 10:08:02 -0400
At 2:47 PM +0100 9/22/08, Nathan Rixham wrote:
tedd wrote:-Stut and Nathan:
The problem was not how to pass variables between requests, but rather how to variables between pages -- as the subject line indicates.
ahhhhhhhhhhhhhhhh! now I follow; and surely tedd what you say is indeed the best way of achieving this.
cheers for taking the time
Nathan:
No problem.
But here is what I would like you to consider, the next time you are thinking about using sessions to pass variables to the next script, try this technique instead.
You see, a few months ago I was working with another programmer who had a script that contained far more data than what I wanted to break down into sessions to pass to my script. So I tried this and to my surprise it worked flawlessly.
Then I thought "Where else could I use this?" and it seems that I can use this everywhere.
Now, I've had three hours of sleep, so my mind may be more fuzzy than usual, but I can't think of an example where I can't use this technique instead of using sessions.
If you can think of one, please tell me.
Cheers,
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
.
- Follow-Ups:
- Re: [PHP] Passing variables between pages
- From: Micah Gersten
- Re: [PHP] Passing variables between pages
- From: Stut
- Re: [PHP] Passing variables between pages
- From: Nathan Rixham
- Re: [PHP] Passing variables between pages
- References:
- Passing variables between pages
- From: Jason Pruim
- Re: [PHP] Passing variables between pages
- From: "Dan Joseph"
- Re: [PHP] Passing variables between pages
- From: Jason Pruim
- Re: [PHP] Passing variables between pages
- From: Jason Pruim
- Re: [PHP] Passing variables between pages
- From: "Dan Joseph"
- Re: [PHP] Passing variables between pages
- From: tedd
- Re: [PHP] Passing variables between pages
- From: Nathan Rixham
- Re: [PHP] Passing variables between pages
- From: tedd
- Re: [PHP] Passing variables between pages
- From: Nathan Rixham
- Re: [PHP] Passing variables between pages
- From: Stut
- Re: [PHP] Passing variables between pages
- From: tedd
- Re: [PHP] Passing variables between pages
- From: Nathan Rixham
- Passing variables between pages
- Prev by Date: Re: [PHP] Passing variables between pages
- Next by Date: Re: [PHP] Passing variables between pages
- Previous by thread: Re: [PHP] Passing variables between pages
- Next by thread: Re: [PHP] Passing variables between pages
- Index(es):
Relevant Pages
|