manta
Power Member
boas
Numa pagina tenho o seguinte codigo
UserID = Request.ServerVariables("LOGON_USER")
UserID = uCase(UserID)
if x = 0 then
teste_str=""
teste_str="ola "&UserID
end if
Mas tenho de usar o que esta dentro do if em varias paginas
era mais facil de manter se podesse criar um ficheiro
com o seguinte codigo
teste_str=""
teste_str="ola "&UserID &"
e depois fazer um include desse ficheiro
Alguém sabe se isto é possivel?
obrigado
Numa pagina tenho o seguinte codigo
UserID = Request.ServerVariables("LOGON_USER")
UserID = uCase(UserID)
if x = 0 then
teste_str=""
teste_str="ola "&UserID
end if
Mas tenho de usar o que esta dentro do if em varias paginas
era mais facil de manter se podesse criar um ficheiro
com o seguinte codigo
teste_str=""
teste_str="ola "&UserID &"
e depois fazer um include desse ficheiro
Alguém sabe se isto é possivel?
obrigado