CGI::Session persist session

2010-09-28 Thread Ramprasad Prasad
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

trouble with cgi::session- redirects and getting params

2008-04-29 Thread nflacco
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

Re: cgi session cart need help

2007-10-03 Thread vipmailnow
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

Re: cgi session cart need help

2007-10-03 Thread vipmailnow
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

Re: cgi session cart need help

2007-10-03 Thread vipmailnow
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

Re: cgi session cart need help

2007-10-02 Thread Tom Phoenix
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

cgi session cart need help

2007-10-02 Thread vipmailnow
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

RE: CGI::Session wierd

2005-06-14 Thread Cristi Ocolisan
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

Re: CGI::Session wierd

2005-06-14 Thread Chris Devers
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

CGI::Session wierd

2005-06-14 Thread Cristi Ocolisan
.   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

Re: strange CGI::Session error

2005-05-14 Thread Octavian Rasnita
- 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

strange CGI::Session error

2005-05-14 Thread Octavian Rasnita
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

Re: Safety of storing pricing information in a CGI::Session

2005-02-02 Thread Marcello
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

Safety of storing pricing information in a CGI::Session

2005-01-31 Thread Michael Kraus
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

Re: Problem using CGI::Session

2005-01-17 Thread Octavian Rasnita
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

Problem using CGI::Session

2005-01-17 Thread Octavian Rasnita
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

RE: CGI::Session

2005-01-16 Thread Michael Kraus
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

Re: CGI::Session

2005-01-16 Thread Joe Mecklin
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

CGI::Session

2005-01-16 Thread Octavian Rasnita
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

Re: CGI::Session param help

2003-10-24 Thread perl
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: > >&

Re: CGI::Session param help

2003-10-24 Thread Jeff 'japhy' Pinyan
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

CGI::Session param help

2003-10-24 Thread perl
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 --

Re: Apache::Session vs CGI::Session

2003-10-21 Thread Andrew Shitov
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]

Apache::Session vs CGI::Session

2003-10-20 Thread perl
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

Re: cgi session

2002-12-06 Thread LRMK
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 "

Re: cgi session

2002-12-06 Thread LRMK
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 "