See the question "Q: I have a frameset page which has an HTM extension, and
I found out each frame it contains display a different session id on the
first request. Why?" in this FAQ:
This posting is provided "AS IS" with no warranties, and confers no rights.
Got .Net? [url]http://www.gotdotnet.com[/url]
| From: "Jakob Ehn" <jakobosirisdata.com>
| Subject: aspx in IFRAME starts multiple session
| Date: Thu, 7 Aug 2003 09:35:15 +0200
| Lines: 22
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <eCPliZLXDHA.2384TK2MSFTNGP10.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: mail.siriso.se 184.108.40.206
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP10.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:165647
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| I have a html portal page, where there are several IFrames. All IFrames
| point to aspx pages
| that belong to one aspnet web application.
| The problem I am having is that when I first go to the html page, a new
| aspnet session is started
| FOR EACH IFrame!! This means that 7-8 sessions are started. After this, it
| seems as the web application
| only uses that last session.
| So the web app works ok, but the performance of having 7-8 sessions
| instead of 1 is a bit annoying
| (I do quit a bit of database access in sessionstart)
| Anyone know how to get around this?