Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Refer session variables at client side

Status
Not open for further replies.

HRTP

Programmer
Oct 31, 2000
6
US
Hi there,

I have a session variable that stores a recordset.

I want to refer this at the client side. Is this possible?

The code is something is as below. I create the recordset when the ASP page loads. When the user clicks on the LoadALL button, I want to refer to the session variable that contains the recordset.




<%

.
.
.
.
Session(&quot;Recset&quot;).CursorType = 3
Session(&quot;Recset&quot;).CursorLocation = 3
Session(&quot;Recset&quot;).Open strSQL,objConn,3,1,1

%>




SUB LoadAll_OnClick

ADC.SourceRecordset = <%=Session(&quot;Recset&quot;)%>

END SUB













Thanx in advance for any help.
TP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top