I am using CGI::Session for session management of a wap page. Even if
I don't delete the cookie I have seen that from nokia browsers the
cookie does not persist , but persistance works fine with a web
browser like firefox
Is there anything special needed for nokia browsers
--
Sent from my m
I'm trying to set up a simple web page with login and registration
system before I try more complicated stuff.
I'm running into a problem where I redirect to a script, try to pull a
parameter off of the url and do something with it ( in this case, a
session id that needs to be removed from the dat
p from
http://search.cpan.org/~sherzodr/CGI-Session-3.95/Session/CookBook.pm
( shopping cart section)
which is a simple sample code for using cgi::session.
the sample code is a workable one. however when adding a item to the
cart. the script will merely push the new data to the array which will
causes mutiple
idx;
splice( @{$cart}, $idxx, 1, @newvalue); ## quantity has
been changed)
}
if ( $finalidx=""){ push @{ $cart }, @newvalue }
$session->param( "CART", $cart ); # store the updated cart back
into the session
return display_cart($cgi, $session); # sho
For Determine whether a hash value exists, i googled the internet. and
found
print "Value EXISTS, but may be undefined.\n" if exists
$hash{ $key };
so i have a test by below code while it seems i can not get the
expeacted result. (all result is value is non existed.)
print "Value EXISTS, but m
On 10/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> i am using cgi session to write a cart .
> here is the partial code.
If you only send part of your code, ideally you should send a part
which can run on its own. That is, make a small stand-alone program
which shows the pr
i am using cgi session to write a cart .
here is the partial code.
the problem is for loop will push mutiply times of same value if
itemID is not exit in original array.
what i want isonly push one times of value if itemid is a new
value
could any one here give some clue or show me the
Yes, I rebuild it & reinstalled it.
Still not working...
CO
-Original Message-
From: Chris Devers [mailto:[EMAIL PROTECTED]
Sent: 14 iunie 2005 14:54
To: Cristi Ocolisan
Cc: Perl Beginners List
Subject: Re: CGI::Session wierd
On Tue, 14 Jun 2005, Cristi Ocolisan wrote:
> Does
On Tue, 14 Jun 2005, Cristi Ocolisan wrote:
> Does anyone know problems between CGI::Session (version 3.95) and perl
> 5.8.4?
Have you tried rebuilding & reinstalling CGI::Session?
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-ma
.
The problem was that
the administrators of the server where I hosted this site upgraded the version
of perl from 5.8.3 to 5.8.4 and CGI::Session does not work
anymore.
Does anyone know
problems between CGI::Session (version 3.95) and perl 5.8.4?
Or the problem is my
code?
Anyway my code for
- Original Message -
> Hi,
>
> I have tried the following test package:
>
> package Presa::H;
>
> use strict;
> use warnings;
> use diagnostics;
>
> use CGI ();
> use CGI::Session ();
> use DBI ();
>
> my $q = CGI->new();
> my $dbh = DBI
Hi,
I have tried the following test package:
package Presa::H;
use strict;
use warnings;
use diagnostics;
use CGI ();
use CGI::Session ();
use DBI ();
my $q = CGI->new();
my $dbh = DBI->connect("DBI:mysql:database=presa", "root", undef,
{PrintError => 1, Rai
Michael Kraus ha scritto:
G'day all...
I'm currently using CGI::Session as part of an online ordering system.
I've been passing database primary keys back and forth between the
client and server, with all values double checked upon being received at
the server.
The only problem is
G'day all...
I'm currently using CGI::Session as part of an online ordering system.
I've been passing database primary keys back and forth between the
client and server, with all values double checked upon being received at
the server.
The only problem is that I need to present
Hi again,
Sorry for my previous post. I found the problem.
I wrote by mistake:
use CGI::session;
(with a small "s" and this sometimes work under Windows, but sometimes for
some tasks it doesn't.
And that's why perl didn't tell me that it couldn't find that
Hi all,
I have tried using the module CGI::Session with MySQL.
If I try
$session->id;
It prints fine the hash of the current session, but if I try to
print $session->name;
or
$session->header;
It gave me the following error:
Can't locate auto/CGI/Session/MySQL/name.al in @INC
G'day...
> I would like to use a session mechanism that allows to store
> some hashes in a MySQL database, but also allow storing some
> other visitor preferences like the font style, colors, font
> sizes, the language, etc.
>
> Do you know if CGI::Session allows s
i don't know if there are modules or functions that would do it all
bhind the scenes, but at the "worst", just write everything you want
to store to variables and write them in a standard mysql "insert"
query.
you may want to "use CGI qw(:all)" rather than lim
Hi,
I would like to use a session mechanism that allows to store some hashes in
a MySQL database, but also allow storing some other visitor preferences like
the font style, colors, font sizes, the language, etc.
Do you know if CGI::Session allows storing some more values in a MySQL
record than
Thanks, I was reading the doc on the cpan site and it wasn't so obvious.
But the perldoc CGI::Session showed how to delete so obviously.
That's after I figured out how to use perldoc to get to Session.
Again, thanks for the patient.
> On Oct 24, [EMAIL PROTECTED] said:
>
>&
On Oct 24, [EMAIL PROTECTED] said:
>Can someone tell me how to delete a parameter in $session->param("BOGUS")
>that was set?
$session->delete("BOGUS");
Read 'perldoc CGI' for more details.
--
Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/
RPI Acacia brother #734
Can someone tell me how to delete a parameter in $session->param("BOGUS")
that was set?
$session->param("BOGUS", "hello");
Does this actually removes or just set a null value?
$session->("BOGUS", undef);
I want to remove or delete it completely.
-thanks
--
Does opening a new browser causes a new session in either of the two?
What for are you going to use sessions? I mean: is threr a real
necessity of using some modules?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Can someone comment on some advantages/disadvantages?
Or they are different thing altogether?
Does opening a new browser causes a new session in either of the two?
thanks
-
eMail solutions by
http://www.swanmail.com
--
To unsubscribe, e-mail: [EMAIL PR
PROTECTED]>
Sent: Friday, December 06, 2002 12:39 AM
Subject: cgi session
> Hi,
>
> How can I check cgi session? mmm .. maybe better I explain like this:
>
> I just want to make a 'secure site' that need username and password. So,
the first page of my site
> would be "
PROTECTED]>
Sent: Friday, December 06, 2002 12:39 AM
Subject: cgi session
> Hi,
>
> How can I check cgi session? mmm .. maybe better I explain like this:
>
> I just want to make a 'secure site' that need username and password. So,
the first page of my site
> would be "
26 matches
Mail list logo