MGE-PortalWiki/DeveloperDocumentation
Jump to navigation
Jump to search
MGE-PortalWiki/DeveloperDocumentation:
How to jump to a selected project
To project.cgi gets the projectname and the projecttype to give back the correct link and preferencences for the selected application. The projecttype (e.g. SAMS) defines the variables for the links and the cookie name for the applications ($SAMS_LINK and $SAMS_SESSION) these varibles have to be defined in the Configs.pm, exported there and imported in the project.cgi
Normally the namedeclarations of the projecttypes work fine for that... Probelm: GenDB-2.2_LINK is no correct perlvariable when using strict. !!! So in this case the linkname is converted to"GenDB22_LINK", session name is converted to "GenDB22_SESSION"