jensjakobsen
asked on
Classic ASP, syntax question - how to append session value into ASP code
Hi.
I believe that this is very simple - but not to me :)
I have a value within a session - and I have verified that the value IS in fact there (I did a response.write).
I have this very specific code that I want to append the session value into - but the syntax is buggin' me.
Below is the code.
<% ....... some code....
MM_editRedirectUrl = "uploadEditArticle.asp"
..... some code %>
How do I append the session value so that the sesion value can be stored as part of the redirect page?
The example should be something like this:
<% ....... some code....
MM_editRedirectUrl = "uploadEditArticle.asp?pkI ntArticleI D=session( "IDartikel ")"
..... some code %>
As you know this won't work as the syntax isn't correct. But my question is:
How can I make it work?
I believe that this is very simple - but not to me :)
I have a value within a session - and I have verified that the value IS in fact there (I did a response.write).
I have this very specific code that I want to append the session value into - but the syntax is buggin' me.
Below is the code.
<% ....... some code....
MM_editRedirectUrl = "uploadEditArticle.asp"
..... some code %>
How do I append the session value so that the sesion value can be stored as part of the redirect page?
The example should be something like this:
<% ....... some code....
MM_editRedirectUrl = "uploadEditArticle.asp?pkI
..... some code %>
As you know this won't work as the syntax isn't correct. But my question is:
How can I make it work?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Dang that was simple :)
MM_editRedirectUrl = "uploadEditArticle.asp?pkI