well i am new to PHP and have a quick question
in ASP you have a global.asa which you can set and reference a session var.
for example:
sub session_onstart()
session("ip") = request.servervariables("REMOTE_ADDR")
end sub
now whenever someone hits any page on my site i have a session("ip") variable i can reference.
I need to do this same thing in php.
(ie) i only want to load this variable once from whatever page user enters on and be able to reference it on any subsequent pages.
keep in mind: I am a novice at php
thanks in advance
Tim
in ASP you have a global.asa which you can set and reference a session var.
for example:
sub session_onstart()
session("ip") = request.servervariables("REMOTE_ADDR")
end sub
now whenever someone hits any page on my site i have a session("ip") variable i can reference.
I need to do this same thing in php.
(ie) i only want to load this variable once from whatever page user enters on and be able to reference it on any subsequent pages.
keep in mind: I am a novice at php
thanks in advance
Tim








