Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Using CGI and perl to specify modes which control page functionality.

by derby (Abbot)
on Jul 02, 2013 at 17:05 UTC ( #1042067=note: print w/replies, xml ) Need Help??


in reply to Using CGI and perl to specify modes which control page functionality.

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
  • Comment on Re: Using CGI and perl to specify modes which control page functionality.
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1042067]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2022-05-21 06:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (76 votes). Check out past polls.

    Notices?