|
Posted by P Pulkkinen on 01/31/07 11:44
"Gunnar G" <debian@comhem.se> kirjoitti
viestissδ:iJ_vh.30820$E02.12529@newsb.telia.net...
>> use sessions or shared memory functions
> Which one would you suggest (is easiest for me to use and learn)?
> All I want to do is to send a bunch of arrays from one page to another.
> That's all.
I don't comment shared memory functions, because i have not used them, but
session is anyway one easy and common way and you'll learn to love it, but
remember about sessions:
1) remember to START session => session_start() or if they are autostarted
in php.ini no problem
2) both scripts should be in same host (but directory doesn't matter)
3) you have a choice to make:
a) you pass session_id in EVERY necessary url, automagically(php.ini) or
manually
OR
b) it is stored to cookie and then users MUST have cookies enabled.
this seems to be default setting. this is safer but problem is if user has
disabled cookies
... or something like this...
Navigation:
[Reply to this message]
|