Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Migrate cgi to java
Ramarao
Hi All,
I want to migrate the cgi script to java to get the same functionality.
I am here having the cgi script attached which I do analysis:
"It provides an interstitial page if the user is clicking a link which is going to another site, outside of own site and then allows the user to continue to their destination once they approve it".
Can any body tell me what this script actually doing with environmental variables??
Thanks in advance.
Find more posts tagged with
Comments
ISCBorisB
Can any body tell me what this script actually doing with environmental variables??
Not much. Code obtains a value from the 'QUERY_STRING' Environment variable from some CGI execution Environment.
It is hard to say more without knowing details of how exactly this CGI is invoked, etc... With that clarification
QUERY_STRING often contains CGI Query, eg request Fragment after the question mark. For example, for a CGI request
http://devnet.interwoven.com/forums_vb/showthread.php[color=red]?
goto=lastpost&t=25017[/color] QUERY_STRING *might* have a value of
'goto=lastpost&t=25017'
.
Note that how script author
processes
this variable later on is a different story.