I'm converting from ASP/VBScript, and need to know how to declare a 
session variable.

In VBScript I just type in:

session("any") = "victor"

Then I can print that variable on any page on the same webpage using:

response.write session("any")

as long as I don't close the browser or the variable times out.

Question: How do I achieve the same thing in PHP..?

Thanks in advance,

Sincerely Victor

PS Using PHP 4 on Mac OS X DS

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to