My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Datos de Sesion</title>
</head>

<body>

<%

Session("nombre") = "Victor Cuervo"
Session("web") = "aulambra.com"


dim nombres(4)
nombres(0)="Amaya"
nombres(1)="Nacho"
nombres(2)="Anabel"
nombres(3)="Juancho"
nombres(4)="Javier"

Session("nombres") = nombres

for each x in Session.Contents
if IsArray(Session(x)) then
For w = LBound(Session(x)) to UBound(Session(x))
Response.Write(x + "[" + CStr(w) + "] = "
+ Session(x)(w) + "<br>")
Next
else
Response.Write(x & "=" & Session.Contents(x) & "<br>")
end if
next

%>


<br><br>
<hr>
Art&iacute;culo disponible en: <a href="http://lineadecodigo.com/asp/volcar-el-contenido-de-la-sesion-en-asp/">http://lineadecodigo.com/asp/volcar-el-contenido-de-la-sesion-en-asp/</a><br/>
<a href="http://lineadecodigo.com" title="Linea de Codigo">lineadecodigo.com</a>


</body>
</html>

Change log

r219 by vcuervo on Jan 19, 2010   Diff
Volcar datos de sesión con ASP
Go to: 
Project members, sign in to write a code review

Older revisions

All revisions of this file

File info

Size: 987 bytes, 45 lines
Powered by Google Project Hosting