循环通过会话 [英] loop though session
本文介绍了循环通过会话的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有办法可以遍历会话中的所有内容?
解决方案
Aaron写于27 okt 2003 in microsoft .public.inetserver.asp.general:
有没有办法可以遍历会话中的所有内容?
<%对于Session中的每个d.Contents%>
<%= d%>
=
<% = Session.Contents(d)%>
< br>
<%Next%>
-
Evertjan。
荷兰。
(请在我的电子邮件地址中将x'变为点数)
Dim ajs8ejfajshdfklhas734ur
For each ajs8ejfajshdfklhas734ur在Session.Contents
Response.Write ajs8ejfajshdfklhas734ur& " = &
会话(ajs8ejfajshdfklhas734ur)& < br>"
下一页
Ray在工作
" Aaron" < a@1.net>在消息中写道
news:u6 ************** @ TK2MSFTNGP11.phx.gbl ...有没有办法我可以遍历会话中的所有内容吗?
谢谢。
Evertjan。写道:Aaron写于27 okt 2003 microsoft.public.inetserver.asp.general:
有没有办法可以循环通过会话中的所有内容?
<%对于Session.Contents中的每个d>
<%= d%>
=
<%= Session.Contents(d)%>
< br>
<%Next%>
>
Is there a way I can loop through everything that is in session?
解决方案
Aaron wrote on 27 okt 2003 in microsoft.public.inetserver.asp.general:
Is there a way I can loop through everything that is in session?
<% For each d in Session.Contents %>
<%=d%>
=
<%=Session.Contents(d)%>
<br>
<% Next %>
--
Evertjan.
The Netherlands.
(Please change the x''es to dots in my emailaddress)
Dim ajs8ejfajshdfklhas734ur
For Each ajs8ejfajshdfklhas734ur In Session.Contents
Response.Write ajs8ejfajshdfklhas734ur & " = " &
Session(ajs8ejfajshdfklhas734ur) & "<br>"
Next
Ray at work
"Aaron" <a@1.net> wrote in message
news:u6**************@TK2MSFTNGP11.phx.gbl...Is there a way I can loop through everything that is in session?
thanks.
Evertjan. wrote:Aaron wrote on 27 okt 2003 in microsoft.public.inetserver.asp.general:Is there a way I can loop through everything that is in session?
<% For each d in Session.Contents %>
<%=d%>
=
<%=Session.Contents(d)%>
<br>
<% Next %>
这篇关于循环通过会话的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文