Drupal how to set session or cookie?

Posted by Gobi on Stack Overflow See other posts from Stack Overflow or by Gobi
Published on 2010-06-04T11:20:47Z Indexed on 2010/06/05 11:22 UTC
Read the original article Hit count: 241

Filed under:
|
|

Hi,

i jus friend reference function so i pass the user id through url like below

www.example.com?fid=22

i need to set this as a session or cookie which access to all modules in drupal 6.

if i set session it return for tht particular module . set cookie is not workin at all.

$user->new_property works only on particular page where set if i move to another page no new_property in $user variable object list .

Thanxs in advance, Gobi

© Stack Overflow or respective owner

Related posts about session

Related posts about cookies