aspx in IFRAME starts multiple session

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default 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




    Jakob Ehn Guest

  2. Similar Questions and Discussions

    1. #25116 [Opn->Fbk]: PHP can't find session, it starts the new session
      ID: 25116 Updated by: derick@php.net Reported By: leo dot jokinen at laurea dot fi -Status: Open +Status: ...
    2. #25116 [NEW]: PHP can't find session, it starts the new session
      From: leo dot jokinen at laurea dot fi Operating system: Windows XP home PHP version: 4.3.2 PHP Bug Type: Session related...
    3. No Page_Load event when aspx is in iFrame?
      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...
    4. iframe in aspx page
      I have an aspx page: Main.aspx which has several components that cause a postback. In the page Main.aspx I also have an iframe which contains a...
    5. aspx page in IFRAME.
      I'm calling window.showModalDialog in IE6 to place an IFRAME in a web page dialog box. I'm not abale to select or copy any text in IFRAME. It...
  3. #2

    Default RE: aspx in IFRAME starts multiple session

    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:

    [url]http://www.asp.net/Forums/ShowPost.aspx?tabindex=1&PostID=7504[/url]

    HTH,
    -Allen


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

    --------------------
    | From: "Jakob Ehn" <jakob@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: <eCPliZLXDHA.2384@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
    |
    |
    |
    |
    |

    [MSFT]Allen Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139