473,657 Members | 2,535 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2037
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***@osirisda ta.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.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: mail.siriso.se 213.131.135.253
| Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP10.phx.g bl
| Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:1656 47
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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
2707
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 page. sadly, it seems that the page displayed in the iframe and the "hosting" menu page are different session. i discovered this by placing response.write(session.sessionid) in both pages. why is this? is there a way to make the iframe page...
3
3971
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 IsPostBack=False by now!. The ASPX is opened via client side script (into an iFrame) inside a .HTM file (as ASPX postback causes problems in a modal internet explorer dialog if not in an iFrame!) Anyone know how to get around this - i need to...
2
1238
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 conjunction with absolute positioning of the divs which is definitely not what I want. But when using iframes i get multiple aspx-pages and i don't have a clue how to handle events that occur on the page in the iframe on my mainpage. I thought...
2
12353
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 users need not enter values in all the controls. they can leave the textbox blank, and select values from one drop down, or any other combinations. I am trying to pass values with the help of session variables. But I have multiple if else...
4
1538
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 session cookies are not the same. Is there any way to pass session values from asp to aspx ?
2
1515
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
19255
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 is, that it doesn't always save the session. When I try to access it from some computers, I have no problem, the session variable is stored and I can browse the site in the IFRAME and everything's ok, but on other computers, the session variable...
3
19864
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 found at www.srmiles.com/freestuff/ajax_file_uploader/ . you can do multiple file uploads. each upload will have it's own "form"-tag, so that each file is uploaded for its own. could be a good solution if there are "big" uploads.
4
4910
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 pageload. It does this when I post the page, or request the page, no matter what. My sessionId is changing, wich prevents me from storing for example a shoppingcart in the users session. Weirdest thing is that it works fine in Firefox (never saw a...
0
8842
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8740
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8513
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6176
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5642
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4173
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4330
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1970
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1733
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.