Robert
|
| Posted: 02/26/2002, 5:35 PM |
|
Thank you in advance to everyone who has been so helpful. Nicole, Ken, you have helped me alot.
Here is my latest challenge (using ASP + Templates). I thought I'd seen the answer here somewhere but I've searched the community and tips areas and can't find it.
Question:
1) I would like to conditionally, based upon security, display forms on a page. For example, a public user would see one screen and a higher level clearance would see basically the same page but perhaps with a bit more.
2) I would like to conditionally display menu items, based upon security. For example, I may have an 'admin' link. I only want to display that if the user has admin level permissions.
Is there a way to do this in CC without the need to create separate pages and directing people to those distinct pages ?
Thank you !
|
|
|
 |
Ken Hardwick
|
| Posted: 02/27/2002, 2:54 AM |
|
Robert,
See my example at http://www.kenhardwick.com/cc_02/Default.asp
I have three forms on page but only display of them based on user action.
Do something like..hide if level not 1
if session("userlevel") <> 1 then
SetVar "FormResults1",""
exit sub
end if
See Alex's article on hiding forms.. http://www.gotocode.com/art.asp?art_id=54&
As far as menu items, you could use same concept.
Someone else may have some better suggestions...
|
|
|
 |
|