Skip Menu |
 

This queue is for tickets about the CGI-Session CPAN distribution.

Report information
The Basics
Id: 88697
Status: new
Priority: 0/
Queue: CGI-Session

People
Owner: Nobody in particular
Requestors: amingholizad [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



From amingholizad [...] gmail.com Sun Sep 15 15: 40:47 2013
MIME-Version: 1.0
X-Spam-Status: No, score=-4.933 tagged_above=-99.9 required=10 tests=[BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_SOFTFAIL=0.665] autolearn=ham
X-Spam-Flag: NO
Content-Type: multipart/alternative; boundary="001a11336460d6d4aa04e67142f9"
Message-ID: <CAL5sdZF+qv_KOoA7FXDaZBFpbHtX4f6zc4+qXHBz7MCkVTgeXw [...] mail.gmail.com>
X-Received: by 10.112.51.101 with SMTP id j5mr21761946lbo.17.1379274033909; Sun, 15 Sep 2013 12:40:33 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -4.933
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 78199241288 for <cpan-bug+CGI-Session [...] hipster.bestpractical.com>; Sun, 15 Sep 2013 15:40:47 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q7nCZx0uQqBP for <cpan-bug+CGI-Session [...] hipster.bestpractical.com>; Sun, 15 Sep 2013 15:40:46 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 8F907240745 for <bug-CGI-Session [...] rt.cpan.org>; Sun, 15 Sep 2013 15:40:45 -0400 (EDT)
Received: (qmail 13611 invoked by alias); 15 Sep 2013 19:40:44 -0000
Received: from mail-la0-f52.google.com (HELO mail-la0-f52.google.com) (209.85.215.52) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Sun, 15 Sep 2013 12:40:38 -0700
Received: by mail-la0-f52.google.com with SMTP id ev20so2428066lab.39 for <bug-CGI-Session [...] rt.cpan.org>; Sun, 15 Sep 2013 12:40:34 -0700 (PDT)
Received: by 10.112.156.66 with HTTP; Sun, 15 Sep 2013 12:40:13 -0700 (PDT)
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Delivered-To: cpan-bug+CGI-Session [...] hipster.bestpractical.com
Subject: param
Return-Path: <amingholizad [...] gmail.com>
X-RT-Mail-Extension: cgi-session
X-Original-To: cpan-bug+CGI-Session [...] hipster.bestpractical.com
X-Spam-Check-BY: la.mx.develooper.com
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=YneX8rKYn4hqJj9QmqqqbppmQ/Syh8QHU4KMzIJ3A1A=; b=IMWnRtDr4CGytyg7AShGxxRS3GXNfd6SUsOTIubZZ8bW2qiF0ixHDLB4JqGmuhEbkE qnQO/JII1Uk+otaXYpznEwx8wGDabFxMlspPIbj0ERYbIoub/RvYdy5vhWtrXGZE8hCo VzXRD3WEhV4xLRxzkY8R+Wmq6mO5q+VIE99dlGyVxurRcTxpcbRdE0e3C0rh5FVIS1jJ 7NWjjJXW5i/LMjTJ1qWRDgEyGwNwPvv4UzxWs27UnSTcE8DL++MkYkPaXipexo/OVAje VBa6iUT7QpCbT2dRGQiXmgzqGdO3iE5DoIRWL8KkQJxYe6pygtX/NjTxyQ2wOYUoX329 25tQ==
Date: Mon, 16 Sep 2013 00:10:13 +0430
X-Spam-Level:
To: bug-CGI-Session [...] rt.cpan.org
From: amin gholizad <amingholizad [...] gmail.com>
X-RT-Interface: Email
Content-Length: 0
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: iso-8859-1
Content-Length: 890
Download (untitled) / with headers
text/plain 890b
Hello. I have this code: use CGI ( "-utf8" ); Show quoted text
> use CGI::Session; > my $q = new CGI; > my $s = CGI::Session->new(undef, $q, {Directory=>'../tmp/sessions'}) || > die CGI::Session->errstr; > $s->expire('+10m'); > my $name = "Amin"; > $s->param('name',$name); > print $s->header( > -charset => 'utf-8' > ),"\n";
every thing is fine but the error is shown in the browser: Can't call method "param" on unblessed reference at Show quoted text
> ..../lib/perl5/CGI/Session.pm line 361.
I have used session in another script fine. all the same but there was not any "param" method I used save_param and load_param. But in this script I have to save a variable out of query string so I used param and the error. I also tried: Show quoted text
> $s->param(-name=>'name',-value=>$name);
but the same error. I use perl 5.8.8 CGI-Session-4.48 on http://stevie.heliohost.org it is linux x86_64 and apache 2.2.16 Amin.Gholiza d
content-type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: iso-8859-1
Content-Length: 2462


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.