troubleshooting Question

MisMatch error Using Session

Avatar of sms_toad
sms_toad asked on
Adobe Flash
5 Comments1 Solution160 ViewsLast Modified:
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:
LastName=request.Form("LastName")
I add it with the
SQLStmt syntax and dump it into the Db...No Problem

-----Problem Starts------
<% Session("LastName")="VarLastName" %>

It throws this error:
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'Session'
...Line 497

----Problem-------------

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.  


Thanks,

Brad
ASKER CERTIFIED SOLUTION
Computer101

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros