Results 1 to 9 of 9
  1. #1
    Join Date
    Mar 2008
    Posts
    67
    Plugin Contributions
    0

    Default SERIOSLY F****D OFF!!! .. please someone help !

    PLease help... anyone... im getting really stressed and about to loose my will to live !

    What im trying to do is pretty simple in concept.

    I have an ezpage which i have created from scratch, and im using it to gather some extra info about the customer.

    But ... i need to check if they are logged in.

    Does anyone know what the name of the session thats created when you log in is called?

    |Has anyone else done anything like this?

    Please i need help on this !!!

    Thanks guys... really appreciate your time ! :)

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: SERIOSLY F****D OFF!!! .. please someone help !

    Try this - note that I searched the forum for 'check logged in' :



    http://www.zen-cart.com/forum/showth...t=check+logged

  3. #3
    Join Date
    Mar 2008
    Posts
    67
    Plugin Contributions
    0

    Default Re: SERIOSLY F****D OFF!!! .. please someone help !

    Thast the variable i thought i should be using and have since confirmed.... problem is... it doesnt seem to be passed to my EZ page ..... does anyone know whay this session is not being passed:

    heres my ezpage as stands :

    PHP Code:
    <?php
    session_start
    ();
    echo 
    "Your id is : ";
    echo 
    $_SESSION['customer_id'];
    ?>
    please i really need help with this !! :)

  4. #4
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: SERIOSLY F****D OFF!!! .. please someone help !


  5. #5
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: SERIOSLY F****D OFF!!! .. please someone help !

    to the best of my knowledge
    php dosnt work from within ezpages out of the box,

    I seem to remember an add on that will allow this,

    however you could put your code into the page2.php file and then call it into ezpages internally
    Zen cart PCI compliant Hosting

  6. #6
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: SERIOSLY F****D OFF!!! .. please someone help !


  7. #7
    Join Date
    Mar 2008
    Posts
    67
    Plugin Contributions
    0

    Default Re: SERIOSLY F****D OFF!!! .. please someone help !

    php works fine.... the problem is passing the $_SESSION['customer_id'] variable.... it just seems to dissapear when you click on the ezpage link.

    I have kind of gotten round it by hard coding a link and passing the is via $_GET[''] ... but this isnt the best way, and im going to have to re-authenticate the user to make sure its not a faker ... ideally id like to get that session passing correctly.


    Any idea's guys?

  8. #8
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: SERIOSLY F****D OFF!!! .. please someone help !

    Do not start session again

    remove "session_start();"
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  9. #9
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: SERIOSLY F****D OFF!!! .. please someone help !

    Quote Originally Posted by misty View Post
    yea I know there was a way to do it. just new it wasnt stock
    Zen cart PCI compliant Hosting

 

 

Similar Threads

  1. Can someone please help? Quantity Issues - Please
    By snakecharmer in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 11 Jul 2011, 05:56 AM
  2. Can someone help, has this been done before. help please
    By kldezine in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 28 Apr 2009, 03:50 PM
  3. please someone help!
    By cruiser84 in forum General Questions
    Replies: 2
    Last Post: 15 Sep 2008, 11:10 AM
  4. Someone please help!!
    By raindark in forum Templates, Stylesheets, Page Layout
    Replies: 26
    Last Post: 30 Oct 2006, 02:31 PM

Posting Permissions

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