----- Original Message ----- From: "suresh kumar" <[EMAIL PROTECTED]>
To: "php" <php-general@lists.php.net>
Sent: Saturday, March 11, 2006 4:51 PM
Subject: [PHP] session register()


i am facing two problems in my project.

1) whether i can store variable as session variable inside javascript function


You can echo code such as:

echo 'var sessionVariable ="' , $SESSION['thisVariable'],'"';


 2)Is there any function available to calculate idle time of user .

Not that I know of and probably there won't be anyway since that is knowing things about the user that is not your business to know.

Satyam


  i am waiting for reply from u


---------------------------------
Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.

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

Reply via email to