#1
  1. Digitally Challenged
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2003
    Posts
    280
    Rep Power
    11

    application variables changing themselves???


    the problem: users login and can navigate an administration area, however, at random (it seems) when you click on a link to navigate to another spot in the admin portion the application variable used to denote the user as an admin is getting changed, and therefore load the homepage because it thinks you are not logged in. any suggestions? need more info? just post.
    Last edited by don_sparko; June 5th, 2003 at 01:22 PM.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2001
    Location
    NJ
    Posts
    428
    Rep Power
    16
    Why are you using the application level variables to determine if a user is admin or not? That should be a session level variable. In the case of using an application variable for user auth if one user is logged in as an admin then all the users are logged in as an admin, and if one users isn't logged on, then they all aren't logged on. I assure you that the application variables aren't changing themselves, its something in your logic.

IMN logo majestic logo threadwatch logo seochat tools logo