473,388 Members | 1,340 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

aspx in IFRAME starts multiple session

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 started
instead of 1 is a bit annoying
(I do quit a bit of database access in sessionstart)

Anyone know how to get around this?

Regards
/Jakob


Nov 17 '05 #1
1 2017
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:

http://www.asp.net/Forums/ShowPost.a...=1&PostID=7504

HTH,
-Allen
Disclaimer:
This posting is provided "AS IS" with no warranties, and confers no rights.
Got .Net? http://www.gotdotnet.com

--------------------
| From: "Jakob Ehn" <ja***@osirisdata.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: <eC**************@TK2MSFTNGP10.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: mail.siriso.se 213.131.135.253
| 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
started
| instead of 1 is a bit annoying
| (I do quit a bit of database access in sessionstart)
|
| Anyone know how to get around this?
|
| Regards
| /Jakob
|
|
|
|
|

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Timmy | last post by:
Hi group, I've inherited some code which has a menu page with an embedded iframe which displays the page corresponding to menu clicks. i was attempting to pass a session variable into the iframe...
3
by: Stevie_mac | last post by:
It might be me but... I dont seem to get a Page_Load event when a opening an ASPX in an iFrame. I do geta Page_Load event when an item on the ASPX (inside the iFrame) is clicked but then...
2
by: Ralf Müller | last post by:
Hi folks! I'am trying to figure out a way on how to keep my scolling position of the page AND all of it's scrollable divs during postbacks. Sadly it seems that div-scrolling can only be done in...
2
by: macyp | last post by:
I have to pass values from one aspx page to another. The controls I have in the first page are: a textbox, 3 drop down lists, and 2 check boxes, and a submit button. It is a search page, and the...
4
by: Meir Rudovsky | last post by:
I have asp page which has iframe to host aspx page. Since , the main application (asp page) has session values , i need these values be passed to aspx page in iframe. But, i found out that...
2
by: Jim712 | last post by:
I am trying to embed an aspx page within another aspx page. Is it possible to persist the data to the embedded page?
1
by: zzzbla | last post by:
Hello, I have a project in which I'm trying to embed one site, that uses session stored variables, inside an IFRAME in another site (which for that matter doesn't even use sessions). Problem...
3
by: markus.rietzler | last post by:
i want to do (multiple) file upload(s) and display a progress bar. with firefox and safari it is no problem at all. only IE makes some problems. my script is based on ajax-uploader, which can be...
4
by: avdbrink | last post by:
I'm building an application wich should be used by other websites inside an iFrame. My app stores some sessionvariables, but sometimes in IE (6 and 7) IIS seems to restart the session on each...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.