List all Session Parameters


/ Published in: ASP
Save to your folder(s)

This function return a string with all the Session parameters and their values.


Copy this code and paste it in your HTML
  1. Function requestSession()
  2. Dim Temp
  3. i = 0
  4. For each d in Session.Contents
  5. if i = 0 then
  6. Temp = Temp & d & "=" & Session.Contents(d)
  7. else
  8. Temp = Temp & "&"& d & "=" & Session.Contents(d)
  9. end if
  10. i = i+1
  11. Next
  12. requestSession = Temp
  13. End Function

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.