Results 1 to 8 of 8

Thread: open new ie window with asp

  1. #1

    Thread Starter
    Lively Member Maartin's Avatar
    Join Date
    Jan 2000
    Location
    Benoni, Gauteng, South-Africa
    Posts
    99

    Angry open new ie window with asp

    Hi there,
    I need to open a new IE window with asp.
    Is there anybody out there who can help me ?

    Thanks.
    Have Fun ;-)
    Maartin
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    if it ain't broke don't fix, rewrite it.
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

  2. #2
    spetnik
    Guest
    You cant. Use client-side JavaScript.

  3. #3
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    heh.. ya..
    Code:
    function window_onload() {
    window.open("MyNewPage.asp", "", "status=no,toolbar=no,menubar=no")
    }
    That will open a new IE instance with no status bar, toolbar, or menubar. tweak away...
    oOOo--oOOo
    __/\/\onte96
    oOOo--oOOo
    Senior Programmer/Analyst
    MCP
    [email protected]
    [email protected]


    Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..

  4. #4

    Thread Starter
    Lively Member Maartin's Avatar
    Join Date
    Jan 2000
    Location
    Benoni, Gauteng, South-Africa
    Posts
    99
    spetnik
    So there absolutly no way that I can do it ?

    I wish I could do it on the client side but I need to check the session vars etc and bassed on that I need to open page(s).

    monte96
    The code is java script man. I need to make the choice on the server and not at the client.

    Thanks for the help guys.
    Have Fun ;-)
    Maartin
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    if it ain't broke don't fix, rewrite it.
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

  5. #5
    spetnik
    Guest
    Well, the ASP will generate client-side javascript based on the server-side variables. That's what ASP is all about: Generating client-side code for the browser to read.

  6. #6
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    Why would you open an instance of IE on the server?
    oOOo--oOOo
    __/\/\onte96
    oOOo--oOOo
    Senior Programmer/Analyst
    MCP
    [email protected]
    [email protected]


    Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..

  7. #7
    spetnik
    Guest
    <code>
    <% If Session("sUID") = "" Then %>
    function window_onload() {
    window.open("MyNewPage.asp", "", "status=no,toolbar=no,menubar=no")
    }
    <% End If %>
    </code>

  8. #8
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    Unless you devise a way to skip some processing if the new window has been opened, you will have to split it because opening a new window requires that whatever page that gets loaded be loaded from the beginning. So, if you load the same page, it will simply keep opening windows until the user ran out of memory or stopped it.
    oOOo--oOOo
    __/\/\onte96
    oOOo--oOOo
    Senior Programmer/Analyst
    MCP
    [email protected]
    [email protected]


    Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..

Posting Permissions

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



Click Here to Expand Forum to Full Width