---
title: "Kakor är goda!"
type: "forum-thread"
url: "https://www.webforum.nu/amne/asp/59435-kakor-är-goda"
topic: "ASP"
topic_url: "https://www.webforum.nu/amne/asp"
author: "trexter.com"
published: "2002-11-18T15:59:33.000Z"
updated: "2002-11-18T16:09:23.000Z"
replies: 1
views: 157
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/59435-kakor-är-goda"
---

# Kakor är goda!

## #1 — trexter.com, 2002-11-18T15:59Z

AV någon anledning vill If-satsen inte köras. Vad kan det bero på?

```
If Request.Cookies("rost").Haskeys = FALSE Then 
	Response.Cookies("rost")("rost") = "rostat"
	Response.Cookies("rost").Expires = Date + 7

	Connect.Execute "UPDATE Poll_answers SET votes = votes + 1 WHERE attachment =" & Request.QueryString("question") & " AND id = " & Request.QueryString("answer"),,128
	Connect.Execute "UPDATE Poll_questions SET numero = numero + 1 WHERE id = " & Request.QueryString("question"),,128 
End If
```

 :)

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

## #2 — trexter.com, 2002-11-18T16:09Z

Ack, ack, försökte åtgärda mitt problem i en identisk fil med annat namn.  :x

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

---

Tråden på webben: https://www.webforum.nu/amne/asp/59435-kakor-är-goda
