rajeshnrh74 0 Newbie Poster

Hi,
my project is based on VB6 Activex Dll , Activex Exe and ASP 3.0
In Activex Dll I'm storing Session ID in one variable.
How can I get the value (Session ID) stored in that variable in Activex Exe?
My code is as follows:


1) VB6 Activex Dll Code:

Public Function GetSession(ByRef SessionID As String) As String
GetSession = SessionID
End Function

2) ASP Code:
<%
Dim SessionID
Dim objMyComponent

Set objMyComponent = Server.CreateObject("COMSession.clsSession")

SessionID = objmycomponent.GetSession(Session.SessionID)
Response.Write SessionID


%>

3) Now, I want to write an Activex Exe to get Session ID in VB6 Activex Dll.

Help me.

Thnks
Rajesh N.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.