I use the code line below in a javascript function to get a textbox value. Is there anyway to grab a session value instead. So like replace LastNameTextBox.ClientID with Session("LastName") etc.?
var LastNameTextBox = document.getElementById('<%= LastNameTextBox.ClientID %>');
Then I use the following to add it to a pdf.
printWindow.document.write('Last Name:');