---
title: "Webläsare"
type: "forum-thread"
url: "https://www.webforum.nu/amne/asp/13731-webläsare"
topic: "ASP"
topic_url: "https://www.webforum.nu/amne/asp"
author: "Choronzon"
published: "2002-01-12T18:50:00.000Z"
updated: "2002-01-12T19:29:00.000Z"
replies: 4
views: 187
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/13731-webläsare"
---

# Webläsare

## #1 — Choronzon, 2002-01-12T18:50Z

```
<% 
lasare = Request.ServerVariables("HTTP_USER_AGENT") 
If Instr(lasare, "MSIE") = False Then 
Response.Redirect "fil.asp" 
Else 
End IF 
%>
```

Så har jag nu, men jag skulle vilja att alla utom MSIE blir skickade till fil.asp.

Vet någon hur?

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

## #2 — Erik Juhlin, 2002-01-12T18:55Z

```
<% 
lasare = Request.ServerVariables("HTTP_USER_AGENT") 
If Not Instr(LCase(lasare), "msie") Then Response.Redirect "fil.asp"
%>
```

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

## #3 — Choronzon, 2002-01-12T19:11Z

Verkar inte funka..jag provade att öppna filen med både ns o explorer och blev  redirectad med båda..

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

## #4 — Choronzon, 2002-01-12T19:25Z

Jag skrev nog lite fel. Alla med explorer vill jag ska bli redirectade och dom övriga ska det inte..hur gör jag då?

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

## #5 — Erik Juhlin, 2002-01-12T19:29Z

```
<% 
lasare = Request.ServerVariables("HTTP_USER_AGENT") 
If Instr(LCase(lasare), "msie") Then Response.Redirect "fil.asp"
%>
```

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

---

Tråden på webben: https://www.webforum.nu/amne/asp/13731-webläsare
