Results 1 to 3 of 3

Thread: About to handle session

  1. #1
    Sencha User
    Join Date
    Aug 2011
    Location
    Ahmedabad
    Posts
    30
    Vote Rating
    0
      0  

    Default 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
      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
      0  

    Default Thanks

    Thanks for replay....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •