session lost in iframe

Discussion in 'ASP General' started by sean, Jan 24, 2005.

  1. sean

    sean Guest

    I have an mypage.asp page with a button, one can access this page only
    if
    Session("smth") = 1.
    There is also an empty iframe in this page (src is not specified).
    When I click the button I will fill the iframe with a page (src =
    'another.asp').

    For security reasons I check the login session in another.asp and
    Session("smth") is empty no matter I have logged before.

    In mypage.asp Session("smth") is still on and its value is 1 but it
    looks like it gets lost in the iframe.

    Any idea why and how to fix this issue?
    W2k, IIS5.0, ASP ....
    Jackie
     
    sean, Jan 24, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Carpe Diem
    Replies:
    3
    Views:
    7,186
    Carpe Diem
    Feb 23, 2004
  2. Alvin Bruney [MVP]

    Re: lost session values, not Session

    Alvin Bruney [MVP], Mar 2, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    428
    Alvin Bruney [MVP]
    Mar 2, 2004
  3. ASP Session lost in IFRAME?

    , Jul 16, 2006, in forum: ASP General
    Replies:
    0
    Views:
    152
  4. Replies:
    0
    Views:
    510
  5. Daedalous
    Replies:
    3
    Views:
    705
    Daedalous
    Jan 16, 2004
Loading...

Share This Page