Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


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?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-04-19 22:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found