the session object

Results 1 to 2 of 2

Thread: the session object

  1. #1
    Join Date
    Dec 1969

    Default the session object

    Hi can anyone help me?<BR><BR>I&#039;m trying to access a session variable from a .vb file. How do I do that?<BR><BR>/Stego

  2. #2
    Join Date
    Dec 1969

    Default I think this will solve your problem

    I was trying to do something similar and had a bear of a time. I was seeting a session variable in as aspx page and trying to call it from a .VB code behind. Eventually I found this method that works:<BR>Session.Contents.Item("userName")<BR><BR >and applied it to me .vb code-behind as:<BR>lblMessage.text = "Welcome User #" & Session.Contents.Item("userID")<BR><BR>HTH<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts