none
session parameters details log RRS feed

  • Question

  • Hi, all,

    Is it possible to log every parameters of session?

    Currently UAG can log events. But my customer wants to log everything...

     

    George


    邁格行動 技術顧問 George 小顧 部落格: http://www.magg.com.tw/blog/
    Friday, August 5, 2011 3:34 AM

Answers

  • Hi George,

    a facility to log all the session parameters is not included in UAG. But you can develop an UAG customization to dump those information into a logfile of your choice during user logon.

    My advice for this customization would be using a "postpostvalidate.inc" customization and call the "GetSessionSnapShot()" function to retrieve all the session parameters at once.

    -Kai

     

    • Proposed as answer by Kai Wilke Sunday, August 14, 2011 12:06 AM
    • Marked as answer by Erez Benari Friday, August 26, 2011 10:41 PM
    Friday, August 5, 2011 6:11 AM

All replies

  • Hi George,

    a facility to log all the session parameters is not included in UAG. But you can develop an UAG customization to dump those information into a logfile of your choice during user logon.

    My advice for this customization would be using a "postpostvalidate.inc" customization and call the "GetSessionSnapShot()" function to retrieve all the session parameters at once.

    -Kai

     

    • Proposed as answer by Kai Wilke Sunday, August 14, 2011 12:06 AM
    • Marked as answer by Erez Benari Friday, August 26, 2011 10:41 PM
    Friday, August 5, 2011 6:11 AM
  • Hello,

    I have this code to go into "postpostvalidate.inc" file to log all the session parameters,  But I don't know to make it log to a .txt file or SQL DB.

    <%

    Set policies = GetSessionParams(g_cookie, empty)

    For Each param in policies.ParamVec

    response.write param.name & ":" & param.value & "<BR>"

    Next

    %>

     

    Thursday, November 10, 2011 5:00 PM