Professional Web Applications Themes

aspx in IFRAME starts multiple session - ASP.NET General

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 ...

  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. #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" <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 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

Similar Threads

  1. #25116 [Com]: PHP can't find session, it starts the new session
    By DiosV2 at AOL dot com in forum PHP Development
    Replies: 0
    Last Post: August 25th, 10:00 PM
  2. #25116 [Fbk->Opn]: PHP can't find session, it starts the new session
    By leo dot jokinen at laurea dot fi in forum PHP Development
    Replies: 1
    Last Post: August 19th, 03:09 PM
  3. iframe in aspx page
    By Fred in forum ASP.NET General
    Replies: 11
    Last Post: August 17th, 11:16 PM
  4. No Page_Load event when aspx is in iFrame?
    By Stevie_mac in forum ASP.NET General
    Replies: 3
    Last Post: August 12th, 08:21 PM
  5. aspx page in IFRAME.
    By Rob in forum ASP.NET General
    Replies: 0
    Last Post: July 31st, 01:11 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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