I know I'm missing something obvious, but I'm back to having a problem with setting a session variable - I'm guessing its the way I'm setting it, but I'm not sure what I'm doing wrong. Here's what I'm trying to set it:
And I'm using this to insert it:
I'm just getting a 0 inserted instead of the number
I know at this point, I've been trying so many combinations that I'm missing something completely obvious, so I'd really appreciate a fresh set of eyes.
Thanks in advance
Code:
<%
set strSQL = applicant.Execute("SELECT applicant_id FROM dbo.hr_applicant_info")
dim applicant_id
applicant_id = Request("applicant_id")
Session("applicant_id")= applicant_id
%>
And I'm using this to insert it:
Code:
<input type="hidden" name="applicant_id" value="<%=applicant_id%>">
I'm just getting a 0 inserted instead of the number
I know at this point, I've been trying so many combinations that I'm missing something completely obvious, so I'd really appreciate a fresh set of eyes.
Thanks in advance