---
title: "Response write"
type: "forum-thread"
url: "https://www.webforum.nu/amne/asp/10580-response-write"
topic: "ASP"
topic_url: "https://www.webforum.nu/amne/asp"
author: "andreas_lindh"
published: "2001-07-16T13:09:00.000Z"
updated: "2001-07-16T14:10:00.000Z"
replies: 6
views: 249
page: 1
pages: 1
language: "sv-SE"
site: "webForum — webforum.nu"
rights: "Upphovsrätten till varje inlägg tillhör dess författare."
attribution: "Citera som: webForum, https://www.webforum.nu/amne/asp/10580-response-write"
---

# Response write

## #1 — andreas_lindh, 2001-07-16T13:09Z

Varför fungerar inte det här??

```
<%
For i=1 to 10
Response.Write "application("active_users")"
Next
%>
```

Permalänk: https://www.webforum.nu/p/10580

## #2 — ironhead, 2001-07-16T13:13Z

Testa:
\<%
For i=1 to 10
Response.Write application("active_users")
Next
%\>

Permalänk: https://www.webforum.nu/p/277464

## #3 — Addeladde, 2001-07-16T13:13Z

Tror detta ska fungera

```
<%
For i=1 to 10
users = application("active_users")
Response.Write " & users & "
Next
%>
```

Permalänk: https://www.webforum.nu/p/277465

## #4 — andreas_lindh, 2001-07-16T13:23Z

till addeladde.
Din kod fungerade inte riktigt.
 Den skriver bara ut
& user & tio gånger. inte dom namnen som finns i active_users.
Är det någon som vet hur man kan lösa det.

Permalänk: https://www.webforum.nu/p/277466

## #5 — ironhead, 2001-07-16T13:39Z

\<%
For i=1 to 10
users = application("active_users")
Response.Write users
Next
%\>

Permalänk: https://www.webforum.nu/p/277467

## #6 — icaaq, 2001-07-16T13:46Z

men hur gör du om du har fler än 10 användare...då jag sitter och testar detta själv kan man göra så här??

```
<%
For i=1 to application("active_users").count
users = application("active_users")
Response.Write users
Next
%>
```

Permalänk: https://www.webforum.nu/p/277468

## #7 — emission, 2001-07-16T14:10Z

\<%
For i=1 to 10
users = application("active_users")
Response.Write users
Next
%\> 

...skriver ju bara ut innehållet i application("active_users") 10 gånger. 

Vad är application("active_users")? En array? Ett dictionary?

Permalänk: https://www.webforum.nu/p/277469

---

Tråden på webben: https://www.webforum.nu/amne/asp/10580-response-write
