/t5/dreamweaver-discussions/onclick-and-session-var/td-p/514964May 21, 2007
May 21, 2007
Copy link to clipboard
Copied
I have a link and I want to pass a session var to the next
page. I
have done it a lot of ways without success. Here is the on I
thought
should have worked.
/t5/dreamweaver-discussions/onclick-and-session-var/m-p/514966#M185022May 21, 2007
May 21, 2007
Copy link to clipboard
Copied
But wouldn't this show in location bar? I want to pas the var
without
anyone seeing it. I do that just fine for security logins and
the
like, but doing it from a link has me at a loss.
Julian Roberts wrote:
> What you'd do have your link like
>
> <a
href="clst_ed.asp?id=<%=rs_clst.Fields.Item("PgID").Value%>"
>
> and then set the session variable on the clst_ed.asp
page
>
> Session("foo")=Request("id")