I am trying to pass lvsession from the codebehind to aspx file. It keeps telling me is not declared or inaccessible due to its protection level. I've tried making it a Public variable at the class level and still no luck. I am really new to asp.net so thanks in advance.
Default.aspx
<object xmlns: id="viewer" classid="clsid:d4290153-c4b5-4c27-9d66-44e94d6b0c32"
codebase="" height="700" name="viewer" width="800">
<param name="ServiceHandlerURL" value="" />
<param name="SessionID" value="<%lvsession%>" />
<param name="DocumentID" value="180484" />
</object>
</body>
</asp:Content>
Default.aspx.vb
Public Class WebForm1
Inherits System.Web.UI.Page
Public Property lvsession As String
Public Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim authProps As OnBaseAuthenticationProperties = Hyland.Unity.Application.CreateOnBaseAuthenticationProperties("https://test.com/", "Manager", "password", "Test")
Dim app As Hyland.Unity.Application = Hyland.Unity.Application.Connect(authProps)
lvsession = app.SessionID
End Sub
End Class