Loading ...
Sorry, an error occurred while loading the content.
 

obtain session variable from iframe

Expand Messages
  • pannet1@yahoo.com
    dear list, i have another problem now. 1. i have index.html page with add item button. 2. i use an iframe to load the item detail table within this
    Message 1 of 2 , Apr 19, 2007
      dear list,
      i have another problem now.

      1. i have index.html page with "add item" button.
      2. i use an iframe to load the item detail table within this index.html <body>.
      3. in the (additem.php) page contained by the iframe, i calculate the total and assign it to a session variable $ _SESSION['total'].

      i need to know how to get this $_SESSION['total'] in the parent page (index.html) without reload or refresh. thanks in anticipation.

      dear vinu,

      thanks for your link on text mode pirnting, i will try and let you know the outcome.

      best regards
      b karthick




      __________________________________________________
      Do You Yahoo!?
      Tired of spam? Yahoo! Mail has the best spam protection around
      http://mail.yahoo.com

      [Non-text portions of this message have been removed]
    • bhavna patel
      Hi, I think You can t get SESSION value without refreshing the page, It nice idea if u use Ajax insted og using Iframe n then set Session values. Ajax will
      Message 2 of 2 , Aug 21, 2007
        Hi,

        I think You can't get SESSION value without refreshing the page,
        It nice idea if u use Ajax insted og using Iframe n then set Session values.
        Ajax will easily set the values in existing parent page no need to work on two different parent and chield page.

        This is just one simple suggetion.

        Regards,
        Bhavna.


        ----- Original Message ----
        From: "pannet1@..." <pannet1@...>
        To: bang-phpug@yahoogroups.com
        Sent: Thursday, April 19, 2007 4:33:41 PM
        Subject: [bang-phpug] obtain session variable from iframe

        dear list,
        i have another problem now.

        1. i have index.html page with "add item" button.
        2. i use an iframe to load the item detail table within this index.html <body>.
        3. in the (additem.php) page contained by the iframe, i calculate the total and assign it to a session variable $ _SESSION['total' ].

        i need to know how to get this $_SESSION['total' ] in the parent page (index.html) without reload or refresh. thanks in anticipation.

        dear vinu,

        thanks for your link on text mode pirnting, i will try and let you know the outcome.

        best regards
        b karthick

        ____________ _________ _________ _________ _________ __
        Do You Yahoo!?
        Tired of spam? Yahoo! Mail has the best spam protection around
        http://mail. yahoo.com

        [Non-text portions of this message have been removed]





        ____________________________________________________________________________________
        Luggage? GPS? Comic books?
        Check out fitting gifts for grads at Yahoo! Search
        http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz

        [Non-text portions of this message have been removed]
      Your message has been successfully submitted and would be delivered to recipients shortly.