i totally agree on the session thingy...
it's definately the most effective and recomended for a multi user apps
cookie..
well, thru my research in completing my contest submission,
i found out that,
you'll have problem if cookie (yumm) is disabled in the browser..
or the browser has some sort of high security settings..
i would stick to session,
link it to, say... 'user_id'.. so you can always fetch the value anywhere
example, in you DB Query..
and session are also safe in term of security,
like for instance, used in checking credentials.. and permission..
and as for the expert vs. beginner contest..
although i love problem solving (maybe that is why i'm a CSI junkie)
personally, i entered the beginner contest,
and it's bcoz i just learned php...
maybe after i'm php matured..
the expert contest would make sense..
just an opinion though..
have a nice day y'all..
cheers;
- jassh
|