Re: Passing variables between pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sessions are used to pass dynamic content between pages.  Your method is
passing static content.

Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com



tedd wrote:
> 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
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux