Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Using CGI and perl to specify modes which control page functionality.by derby (Abbot) |
on Jul 02, 2013 at 17:05 UTC ( [id://1042067]=note: print w/replies, xml ) | Need Help?? |
What's the server side process for .dhtml files? Are they generated via perl cgi script? If so, what's wrong with params? /viewquestions.dhtml?action=adminmode" Then the question moves to when constructing the link, whether or not you need add the params. That can be solved tons of ways but normally you have some type of session associated and within that session there is something that identifies the user as an admin or not. If the user is admin, construct the link with the param, else construct the link without it.
-derby
In Section
Seekers of Perl Wisdom
|
|