[Affelio-cvs 514] CVS update: affelio

Back to archive index

Tadashi Okoshi slash****@users*****
2005年 7月 3日 (日) 22:42:05 JST


Index: affelio/incoming.cgi
diff -u affelio/incoming.cgi:1.6 affelio/incoming.cgi:1.7
--- affelio/incoming.cgi:1.6	Fri Jul  1 17:19:41 2005
+++ affelio/incoming.cgi	Sun Jul  3 22:42:05 2005
@@ -16,7 +16,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #
-# $Id: incoming.cgi,v 1.6 2005/07/01 08:19:41 slash5234 Exp $
+# $Id: incoming.cgi,v 1.7 2005/07/03 13:42:05 slash5234 Exp $
 
 use strict;
 
@@ -54,10 +54,9 @@
 };
 my $wi = new Affelio::misc::WebInput(); 
 my $sid = $q->cookie("affelio-$af->{user__nickname}");
-my $session;
-if($sid ==0 || !defined($sid)){
-    undef($session);
-}else{
+debug_print("incoming.cgi: sid from cookie = $sid");
+my $session="";
+if($sid){
     $session = new CGI::Session(undef, 
 				$sid, 
 				{Directory=> $af->{site__session_dir}});


Affelio-cvs メーリングリストの案内
Back to archive index