Author: j4m355 | Posted on: 3/10/2010 5:14:46 AM | Views : 361

Hi All,


I am currently having a spot of bother in something im trying to create.  I want it so when a user who is in a certain role logs in they are directed to a certain page, and any other normal users are directed to another page.
I think i have this sorted via code but...


-The first time it will work, the 'admin' user will get directed to the appropriate page
-I then log out and log in as a normal user and get directed to the appropriate page
-then when i log out of that users account and back into the admin one i get directed to the normal users page instead.


-additional to this, I tried it on a different machine logging in as the admin user only to be redirected to the normal users page (is my session being stored somewhere?)


Ive traced through the problem and the user name and password being subbmitted are what they should be, yet it skips the true part of my IF statemen ...

Go to the complete details ...