1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

popup to a new popup

Discussion in 'C#' started by likki_hari, May 11, 2008.

  1. #1
    I all,

    my present asp page opens a popup to display the complete data, but my requirement is to create a login to show only some data in the same popup. my choice was to redirect from the popup that shows all data to a new popup which shows some data (having the first popup not opening at all, clearly to redirect)

    Any help how to redirect from popup to popup..?
    SEMrush
     
    likki_hari, May 11, 2008 IP
    SEMrush
  2. nubsii

    nubsii Peon

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    How about checking who is viewing your page prior to sending -any- pop-up at all, and then conditionally sending them the right pop-up. I could see things getting quickly complicated if pop-ups attempt to open each other after having already been requested in an attempt to implement security.

    pseudocode:
    On event that generates popup...
    if user is logged in (or if user belongs to a specific role)
    give them the full data popup
    else
    give them the sucky data popup

    Or within the popup generator itself
    If logged in
    generate legit popup
    else
    generate slim popup
     
    nubsii, May 12, 2008 IP
  3. likki_hari

    likki_hari Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I used response.redirect and it works perfect.(the first popup doesnt open at all)

    thanks for replying.
     
    likki_hari, May 12, 2008 IP