---
title: "iframe and session vars"
type: "forum-thread"
url: "https://www.webforum.nu/amne/dotnet/129671-iframe-and-session-vars"
topic: ".NET"
topic_url: "https://www.webforum.nu/amne/dotnet"
author: "niels"
published: "2005-06-08T12:46:44.000Z"
updated: "2005-06-08T12:50:02.000Z"
replies: 1
views: 343
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/dotnet/129671-iframe-and-session-vars"
---

# iframe and session vars

## #1 — niels, 2005-06-08T12:46Z

We have a problem with running a site in an iframe. We've developed a system that uses session variables but when running the site in an iframe we get weird (non-exsisting) behavior with the session vars. 

Even more weird is that if I open the page (that's runned in the iframe) and do some stuff that affects the session and then open the page with the iframe, it works fine...

Someone know why I get this behaviour?
/Niels

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

## #2 — @nders, 2005-06-08T12:50Z

Om du använder både J2EE och ASP.NET på samma gång så kanske inte de båda miljöerna kan dela sessionsvariabler.

Edit: visst kan du väl svenska förresten? :q

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

---

Tråden på webben: https://www.webforum.nu/amne/dotnet/129671-iframe-and-session-vars
