Session

E

Evertjan.

vvv wrote on 03 nov 2003 in microsoft.public.inetserver.asp.general:
How can I change a session("x") with hyperlinks?

You will have to go back to serverside,
asp does not know about hyperlinks and
the client does not know about session().

================== thispage.asp =======

Old session "x" content: <% = session("x") %>
<br>

<% session("x") = request.querystring("x") %>

New session "x" content: <% = session("x") %>

<br>
<a href="thispage.asp?x=qwerty">qwerty</a>
<br>
<a href="thispage.asp?x=asdfg">asdfg</a>

=======================================
 
V

vvv

Perfect... thanks!


Evertjan. said:
vvv wrote on 03 nov 2003 in microsoft.public.inetserver.asp.general:


You will have to go back to serverside,
asp does not know about hyperlinks and
the client does not know about session().

================== thispage.asp =======

Old session "x" content: <% = session("x") %>
<br>

<% session("x") = request.querystring("x") %>

New session "x" content: <% = session("x") %>

<br>
<a href="thispage.asp?x=qwerty">qwerty</a>
<br>
<a href="thispage.asp?x=asdfg">asdfg</a>

=======================================
 

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

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top