urgent please help - ryan
|
| Posted: 03/05/2002, 1:23 AM |
|
http://www.gotocode.com/art.asp?art_id=55&
CLAIMS that IT is possible to redirect
users on the pages they are allowed to view.
I am developing a 3 page for 3 different
user rights: customer, developer, administrator.
On the login page, I logged as ADMIN then I
will be taken to the ADMIN page where I
can do ADMIN stuff (view, delete, etc.)
I logout then I will be taken back to the
login page.
However when I log-in again as a different
user say developer, I will be taken to the
same ADMIN page however with no ADMIN access
but the page I am redirected to is wrong.
CodeCharge seems to append the recent page
to the querystring of the adrress
bar (the login page) when the user logs-out. I tried to issue
a session.abandon prior to logging-out but
it does not work.
It only works when I remove the ENTIRE querystring from http://127.0.0.1/1/planning/Login.asp?QueryString=&ret_...istration%2Easp
AND CHANGE IT to http://127.0.0.1/1/planning/Login.asp SURELY I WILL
be redirected to the right page I am intended to view.
Is there any way of redirecting to the right page w/out removing a querystring
from the address bar (because users definitely won't like that)
I am using ASP.
|