Session Variable within a Database Region

R

Ray

Within a Database Region I have a variable called Identifier. I wish to pass
this around as a Session Variable, but if I try <%Session("Identifier") =
"Identifier" %>, when I display the Identifier field it shows it as the word
"Identifier". Now I understand why it does that, but how do I assign the
variable as the Identifier value?
 
T

Thomas A. Rowe

Try:
After you have run your query, you can create a session:

Session("Identifier") = fp_rs("Identifier")

Then you can use the session as in:

<%=Session("Identifier")%>

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
R

Ray

Thanks very much
Thomas A. Rowe said:
Try:
After you have run your query, you can create a session:

Session("Identifier") = fp_rs("Identifier")

Then you can use the session as in:

<%=Session("Identifier")%>

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top