Help with iframe or??

Discussion in 'JavaScript' started by x0x, Oct 1, 2008.

  1. #1
    <iframe 
    src ="https://www.site.com/controlpanel"
    frameborder=0 height=1200 width=600>
    </iframe>
    
    HTML:

    This is what I already have. This includes the control panel site from another site and works fine.

    The problem is that before the control panel can be accessed the user must log in. So I would like to run something like this in the background without no popups or anything:
    https://www.site.com/login.asp?c=user455&p=passw0rd

    That link will log the user in and make the controlpanel page accessible, so how could I log the user in without opening login.asp. Something silent in the background. I tried to put another iframe before it but it didnt work

    <iframe frameborder=0 height=0 width=0 src=javascript:void(document.location="https://www.site.com/login.asp?c=user455&p=passw0rd)></iframe>
    HTML:
    Also the pages are ASP pages. When I log in there are no cookies stored ;S I obviously don't know anything about ASP but how can it keep me logged in without a cookie?


    Maybe some piece of java that will open and close that page? Any ideas?
     
    x0x, Oct 1, 2008 IP