Menu

#187 Yet another login issue ;-)

open
nobody
None
5
2004-04-05
2004-04-05
Anonymous
No

Issue: After using my login and password to connect
to phphelpdesk.. I see my calls and available actions,
however once I select any item Instead of seeing the
subscreen the login screen is brought back up.

I had phphelpdesk running for over a month.. (version
0.6.16). I'm trying to see if my hosting co to see if they
have made any modifications to the php.ini on there side
which may cause this issue.

I have tried adding the values to the .htaccess file,
however that does not seem to have resolved the issue
either.

I backed out my modifications (I'll admit I had a fair
amount) , and I still seem to have the issue..

The only items that I can think of after reviewing your
code and tips is that the hosting co.. disabled globals
on me.. and the .htaccess hack is not allowed by them
arg..

In your notes you indicate that the version you are
currently working should not be effected by this... Can
I get a copy of this code or do you have any other
thoughts of how to resolve this ?

Thanks in advance for the help.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I have done some additional checking.. Here are my
    additional findings:

    1) My provider says theyhave not done any modifications..
    however I'm not sure I buy that..
    2) I have placed a new (unmodified) version of the code in
    place and have the same issue with this version. (I need to
    fix the cookie issue in the modified version.. but we both
    expected that).

    3) I dropped back to a dataset that I had last week.. that
    also does not resolve the issue.

    4) Just so you know.. in my login case.. the first login
    happens.. and displays the list of tickets and options... After
    that When I select to view a ticket in more detail, or any
    other option (Add user/department etc...) the routine goes
    back to the login section...

    My email address is richard.molnar@allatar.com.

     
  • Nobody/Anonymous

    Logged In: NO

    I have done some additional checking.. Here are my
    additional findings:

    1) My provider says theyhave not done any modifications..
    however I'm not sure I buy that..
    2) I have placed a new (unmodified) version of the code in
    place and have the same issue with this version. (I need to
    fix the cookie issue in the modified version.. but we both
    expected that).

    3) I dropped back to a dataset that I had last week.. that
    also does not resolve the issue.

    4) Just so you know.. in my login case.. the first login
    happens.. and displays the list of tickets and options... After
    that When I select to view a ticket in more detail, or any
    other option (Add user/department etc...) the routine goes
    back to the login section...

    My email address is richard.molnar@allatar.com.

     
  • Nobody/Anonymous

    Logged In: NO

    Resolved..

    FYI How I did it..

    1st.. Modify /index.php and put the following command on
    line 2:

    session_start();

    Modify both /cookie.inc.php & /includes/cookie.inc.php so it
    has the following info:

    <?php // SET COOKIE INFO

    session_register("status", "Logged In");
    session_register("user", $txtUsername);
    session_register("group", $row[4]);
    session_register("authentication", "YES");
    session_register("laston", $row[6]);

    ?>

    Modify /includes/logout.inc.php and add to the line before ?>
    at the end the following command:

    session_unset();

    This resolved the issue in my case... Hope it helps others.

     
  • Nobody/Anonymous

    Logged In: NO

    26th May 2004.

    From Ron Bell

    http://www.quicksolve.com.au/contact/emailform.html

    ( Use the above link If you want to contact me. )

    That suggestion seemed to work. I am no longer in a login
    loop ! ( tested on RH9 - Mozilla and WINXP PRO IE 6.0.2800 )

    Download the modified package from
    www.opensourcesoftware.com.au/files/phphelpdesk.zip

    ( I own the site www.opensourcesoftware.com.au and yes
    it's under development. ) If you have stuff you want listed
    there drop me an email.

    Ron Bell
    Quick Solve Computers
    http://www.quicksolve.com.au

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.