Posted By

sikwan on 10/15/10


Tagged

session


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

ddtfish


List all Session Parameters


 / Published in: ASP
 

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

  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  

You need to login to post a comment.