Author: spadkins
Date: Thu Sep 13 13:06:03 2007
New Revision: 9945
Modified:
p5ee/trunk/App-Context/lib/App/Request/CGI.pm
Log:
Changes for application login logoff
Modified: p5ee/trunk/App-Context/lib/App/Request/CGI.pm
==============================================================================
--- p5ee/trunk/App-Context/lib/App/Request/CGI.pm (original)
+++ p5ee/trunk/App-Context/lib/App/Request/CGI.pm Thu Sep 13 13:06:03 2007
@@ -369,14 +369,8 @@
if (!$options->{open_widget_urls} && (!$permissions ||
!$permissions->{view})) {
die "Not permitted to view widget [$name] from the
browser\n";
}
- if ($request_method eq "POST") {
- # do nothing
- # push(@events, [ $service, $name, "post", $content ]);
- }
- else {
- $context->so_set("default","ctype",$service);
- $context->so_set("default","cname",$name);
- }
+ $context->so_get("default","ctype",$service,1);
+ $context->so_get("default","cname",$name,1);
}
}