↧
From: | MatNat |
To: | Rick Strahl |
thanks
Matias
Something along the lines of:
DO wconnect loSql = CREATE("wwSQL") ? loSql.Connect("yourconnectionstringhere") ? loSql.cErrorMsg ? loSql.Execute("Select * from wwSession")Browse
+++ Rick ---
Process.InitSession("Test")
Session.SetSessionVar("Matias","1")
FUNCTION SetSessionVarLPARAMETERS lcVarName, lcValueLOCAL lctext, lcValue, lcOldAlias, loData lcVarName = lower(lcVarname) loData = THIS.oDataIFEMPTY(lcValue) lcValue = ""ENDIF*** New Id value lcText="<"+lcVarName+">"+TRANS(lcValue)+"</" + lcVarName + ">"+CHR(13)IFATC("<"+lcVarName+">",loData.vars) > 0 **** .... ....
This.oData is null and I can not understand if I forget something or if I'm wrong to initialize the session. Does anyone know how to help me or can send some examples?
thank you very much
Matias