1. #1
    Sencha User
    Join Date
    Aug 2011
    Location
    Ahmedabad
    Posts
    30
    Vote Rating
    0
    mayurbhuva is on a distinguished road

      0  

    Default About to handle session

    About to handle session


    plaese help me. i am new to ext js.


    I built login module using php & Ext js.


    when any user login on site at that time i want this username on session.
    and display it into home page.

    thanks .

  2. #2
    Sencha User
    Join Date
    Jul 2007
    Posts
    53
    Vote Rating
    0
    boovoon is on a distinguished road

      0  

    Default


    I would do that in the <script> section with:

    <script>
    var current_username = <?=$_SESSION['username']?>;
    </script>

  3. #3
    Sencha User
    Join Date
    Aug 2011
    Location
    Ahmedabad
    Posts
    30
    Vote Rating
    0
    mayurbhuva is on a distinguished road

      0  

    Default Thanks

    Thanks


    Thanks for replay....

Thread Participants: 1