I have created one web application and when i run application in normal browser windows it works perfectly. But when i open same application in iFrame tag my cookies get vanished automatically.
When I Inspect browser window i can see the cookies and session but it won’t work.
enter image description here
2
Answers
This is probably because you have not set the domain on the web.config
Some times you call the iframe with out the
www.
on your domain, and this is set a different cookie than when you have thewww.
so on
web.config
set thedomain
where its needed, eg: