CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Parameter passing

Print topic Send  topic

Author Message
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.
Emile
Posted: 03/05/2002, 7:06 AM

Probably setting the sQueryString variable to nothing in the right event (On Login).

Someting like:

sQueryString = "";






   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.