Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1141
  • Last Modified:

Session ID is lost in iframe

When running a website (asp.net) in an iframe the session id is lost after posting a form, the session id changes. When running the very same website outside the iframe, it works perfect

Doe only happen in IE, Firefox and Chrome work OK

THX

Taco
0
tacotijsma
Asked:
tacotijsma
1 Solution
 
tacotijsmaAuthor Commented:
Found it. It is a security problem (feature) in IE. Solved by the following code:

Response.AppendHeader("P3P", "CP=""CAO PSA OUR""")

This will lower  the security state of the page which results in preserving the session
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now