MisMatch error Using Session
Posted on 2003-02-20
I am trying to use session vars to pass the info from an input form ( dumping into SQL DB ) to the resulting 'Thank You' page.
I have used this as an example of getting input vars from my Sign-up page:
I add it with the
SQLStmt syntax and dump it into the Db...No Problem
<% Session("LastName")="VarLastName" %>
It throws this error:
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'Session'
I then use a Response.Redirect "Thank_You.ASP"
and I want to pull the info thru to personalize the page
I've tried this at the top, middle, bottom of the page and can't get it to work. This error occurs on page load and stops all activity. I can't get the SUBMIT to work,
Any help appreciated.