OK, so I have to concatenate string and value from variables.

It goes correct until variables come into play... What am I doing wrong? The error I get is Expression Expected...

toHash = "Hello"
toHash &= "randomVALUEBGCOLOR=#FFFFFFrandomVALUEBRAND=VISArandomVALUEBUTTONBGCOLOR=#9BCC83randomVALUEBUTTONTXTCOLOR=#000000randomVALUECANCELURL=SOMErandomSITE/betaling4.aspxrandomVALUECATALOGURL=SOMErandomSITErandomVALUECN=" 
toHash &= Session('fac_cntnaam_tsv') & " " & Session('fac_cntnaam') & Session('bdr_fac_cntnaam_tsv') & " " & Session('bdr_fac_cntnaam') 

Thanks...

Change line 3 to:

toHash &= Session("""fac_cntnaam_tsv""") & " " & Session("""fac_cntnaam""") & Session("""bdr_fac_cntnaam_tsv""") & " " & Session("""bdr_fac_cntnaam""")

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.