Re: Apache::Session permissions problem

2003-09-15 Thread Perrin Harkins
Eric, Sorry if I came off overly critical. Many people have had problems trying to use Mason with Apache::Session because of that article. This is why on the Mason website the link to that article describes it as outdated and steers people to newer documentation. (It probably should also

Re: Apache::Session permissions problem

2003-09-15 Thread Eric Schwartz
On Saturday, Sep 13, 2003, at 09:22 America/Denver, Perrin Harkins wrote: I found a pretty useful article at http://www.linuxjournal.com/article.php?sid=4143 on how to use Apache::Session with Mason. I'm afraid that is not a very good article. It's out of date, and shows poor erro

Re: Apache::Session permissions problem

2003-09-15 Thread Enrico Sorcinelli
On Fri, 12 Sep 2003 01:01:24 -0600 Eric Schwartz <[EMAIL PROTECTED]> wrote: Hi Eric, > I found a pretty useful article at > http://www.linuxjournal.com/article.php?sid=4143 on how to use > Apache::Session with Mason. I wrote a tutorial on session management with HTML::Ma

RE: Apache::Session permissions problem

2003-09-14 Thread Perrin Harkins
te. There you would have found a note that the article you read is outdated, and a link to the current docs:http://masonhq.com/user/adpacifico/ApacheSessionMason.html > PS: Apache::Session::DBI might be ancient, when I did some research for > this mail I stumbled upon > http

RE: Apache::Session permissions problem

2003-09-14 Thread Frank Maas
> I'm afraid that is not a very good article. It's out of date, ... > Apache::Session::DBI (which is what the article refers to) is ancient > and should not be used. I stumbled upon this problem quite a few times. Trying to get the hang of using cookies for authentication and

Re: Apache::Session permissions problem

2003-09-13 Thread Perrin Harkins
> I found a pretty useful article at > http://www.linuxjournal.com/article.php?sid=4143 on how to use > Apache::Session with Mason. I'm afraid that is not a very good article. It's out of date, and shows poor error handling. If you want to use sessions with Mason, you

Apache::Session permissions problem

2003-09-12 Thread Eric Schwartz
I found a pretty useful article at http://www.linuxjournal.com/article.php?sid=4143 on how to use Apache::Session with Mason. I followed the article, more or less, and ended up with this bit of code in my handler.pl to tie() my $session variable to an Apache::Session class: eval { tie

Re: Apache::Session and pnotes

2003-09-05 Thread Perrin Harkins
Sorry, I missed this message until now... On Tue, 2003-09-02 at 14:21, Xavier Noria wrote: > Let's assume a new user comes to the website. We set up a session for > him and put the session id in a cookie to be sent in the response. As > you know, somewhere in the request

Re: Apache::Session and pnotes

2003-09-05 Thread Enrico Sorcinelli
On Tue, 2 Sep 2003 20:21:45 +0200 Xavier Noria <[EMAIL PROTECTED]> wrote: > On Tuesday 02 September 2003 07:28, Perrin Harkins wrote: > > > Sorry, I don't understand what you're saying here. What you should > > be doing is fetching the session once, putting it

Re: Apache::Session and pnotes

2003-09-02 Thread Xavier Noria
On Tuesday 02 September 2003 07:28, Perrin Harkins wrote: > Sorry, I don't understand what you're saying here. What you should > be doing is fetching the session once, putting it in pnotes, and > getting it from pnotes for the rest of the request. I am sorry, I'll

Re: Apache::Session and pnotes

2003-09-02 Thread Perrin Harkins
On Tue, 2003-09-02 at 05:02, Xavier Noria wrote: > > Can you tell us more about the problem is? What do you see when you > > take the session hash back out of pnotes? > > I have dumped the hash in a content handler and it seems to be OK. Okay, then what is the problem that

Re: Apache::Session extra record not write to Mysql db.

2003-09-02 Thread Perrin Harkins
ema described in the Apache::Session documentation. > and from my phpmysql, you can see the time record. > > id a_session time unametest > 0543f2dc8dd196c5adeb29f18113f88d 2003090122521800 Is that

Re: Apache::Session extra record not write to Mysql db.

2003-09-02 Thread Anton Permyakov
> > > $session{'time'} = time();## this updates 'time' record > > > > But it doesn't update the time column in the database unless you hacked > > the Apache::Session code to do that. > > > > now i don't know wh

Re: Apache::Session extra record not write to Mysql db.

2003-09-02 Thread James.Q.L
ng just fine. however, after i > > added one more > > field (username) to the sessions table through phpmysql, updating it in the program > > seems has no effect on the username record. no problem on others. > > Do you understand what Apache::Session does? It simply u

Re: Apache::Session extra record not write to Mysql db.

2003-09-02 Thread Perrin Harkins
phpmysql, updating it in the program seems has no effect on the username record. no problem on others. Do you understand what Apache::Session does? It simply use Storable to turn the whole hash of values into a single binary chunk and stores it all in the a_session field. It uses the id field to find

Re: Apache::Session and pnotes

2003-09-02 Thread Xavier Noria
On Tuesday 02 September 2003 07:46, you wrote: (I am sorry I am not replying to the actual email, but to a forwarded copy from my desktop at home.) > > It seems, however, that Apache::Session objects stop being stored > > when I put the session in pnotes() with a code analogous to t

Re: Apache::Session and pnotes

2003-09-02 Thread Perrin Harkins
Xavier Noria wrote: It seems, however, that Apache::Session objects stop being stored when I put the session in pnotes() with a code analogous to this: Can you tell us more about the problem is? What do you see when you take the session hash back out of pnotes? my $r = Apache::Request

Apache::Session extra record not write to Mysql db.

2003-09-01 Thread James.Q.L
i am experiencing a weird problem with the use of apache::session::mysql before i had three fields in table sessions : a_session,id,time in the DB. and updating table etc from the program was working just fine. however, after i added one more field (username) to the sessions table through

Apache::Session and pnotes

2003-09-01 Thread Xavier Noria
I am trying to retrieve/create an Apache::Session object for a given user in the authentication phase, so the following handlers have them available via pnotes. Sessions are stored in an Oracle database. It seems, however, that Apache::Session objects stop being stored when I put the session

Re: Apache::Session

2003-08-22 Thread Marcel Greter
All the information that comes from the user-agent can be faked. So the session id is as insecure as any other identifier you get from the Browser. The only thing that could be used is the IP address, and as somebody said earlier, some ISPs and big company LANs may use different proxies for

Re: Apache::Session

2003-08-14 Thread Perrin Harkins
On Thursday 14 August 2003 8:06 am, Joelle Nebbe wrote: > What i do is store both the remote IP and the user agent HTTP parameters in > the session when the session is created. Whenever a new request comes in > with that session I check that those havent changed. So, you don't

Re: Apache::Session

2003-08-14 Thread Patrick Galbraith
ff trolls! Aleksandr Guidrevitch wrote: Hi, All Sorry, this post might be out of scope of this particular list, but still... don't punch me heavily :) I just think the people here might have met this problem while deploying big public applications. I use Apache::Session to identify logged in

Re: Apache::Session

2003-08-14 Thread Joelle Nebbe
Hi I do a few basic things that improve security - its still not strict security but What i do is store both the remote IP and the user agent HTTP parameters in the session when the session is created. Whenever a new request comes in with that session I check that those havent changed. If they

Re: Apache::Session

2003-08-14 Thread Raf
Aleksandr Guidrevitch said: ... > Is it possible to uniquely identify the user by some attributes ? > The only thing I consider now is IP, but what about proxies and NATs ? > User Agent string could also be stolen via javascript. That means I tend > to make stolen session ids non-reu

Apache::Session

2003-08-14 Thread Aleksandr Guidrevitch
Hi, All Sorry, this post might be out of scope of this particular list, but still... don't punch me heavily :) I just think the people here might have met this problem while deploying big public applications. I use Apache::Session to identify logged in users. However, the users are allow

Re: Apache::Session

2003-08-14 Thread Aleksandr Guidrevitch
Hi, All What have you used to stip out that stuff ? I've reviewied HTML::StripScripts, but it seems to be very slow. I've also considered HTML::Filter to do that but I'm also affraid that HTML::Parser is not the fastest thing on the earth, even though it will be invoked once during initial submi

Re: Apache::Session

2003-08-14 Thread Patrick Galbraith
Aleksandr, we had our own stripping methods. Just get the source for slashcode http://slashcode.com and look for Slash/Display/Display.pm: strip_paramattr => \&strip_paramattr, Slash/Display/Display.pm: strip_urlattr => \&strip_urlattr, Slash/Display/Display.pm: strip_anchor

Re: Apache::Session

2003-08-14 Thread O'K Web Design
Hi I might be missing the point but if you already are tracking with Apache::Session why not encrypt the session id before giving it to the user in the first place. You could store a public 'key' for the encryption in a cookie on the users machine. That way only that user can gi

Re: "Magic number checking on storable" error withApache::Session::MySQL

2003-07-14 Thread Dan McCormick
For those who might encounter the same issue, I just wanted to add that I switched to Apache::Session::File and have seen no such errors since. In addition, odd MySQL "fetch before excute" errors that were inaccurate (the code clearly had an execute immediately before the fetch) have d

Re: "Magic number checking on storable" error with Apache::Session::MySQL

2003-07-10 Thread Stas Bekman
Dan McCormick wrote: Hi, I'm running a site with Apache, MySQL, Mason, and Apache::Session::MySQL. I've been sporadically seeing this message in my error log: [Wed Jul 9 20:41:42 2003] [error] Magic number checking on storable string failed at blib/lib/Storable.pm (autosplit into bli

"Magic number checking on storable" error withApache::Session::MySQL

2003-07-10 Thread Dan McCormick
Hi, I'm running a site with Apache, MySQL, Mason, and Apache::Session::MySQL. I've been sporadically seeing this message in my error log: [Wed Jul 9 20:41:42 2003] [error] Magic number checking on storable string failed at blib/lib/Storable.pm (autosplit into blib/lib/auto/Storab

Re: Apache::Session::Lock::File hangs under Windows

2003-07-08 Thread Enrico Sorcinelli
On Tue, 8 Jul 2003 10:26:54 +0400 "Andrew Alakozow" <[EMAIL PROTECTED]> wrote: Hi Andrew > > BTW, 'clean' method of this model hangs as well. > Also Apache::Session::Lock::File (1.54) 'clean' method has a little bug in checking lockfiles las

Re: Apache::Session::Lock::File hangs under Windows

2003-07-07 Thread Andrew Alakozow
PH> On Mon, 2003-07-07 at 07:29, Andrew Alakozow wrote: >> Apache::Session::Lock::File hangs under Windows if you try to remove >> session or add data to existing session. This happenes because you >> cannot "flock($self->{fh}, LOCK_EX)" if you already has &

Re: Apache::Session::Lock::File hangs under Windows

2003-07-07 Thread Perrin Harkins
On Mon, 2003-07-07 at 07:29, Andrew Alakozow wrote: > Apache::Session::Lock::File hangs under Windows if you try to remove > session or add data to existing session. This happenes because you cannot > "flock($self->{fh}, > LOCK_EX)" if you already has "flock($se

Apache::Session::Lock::File hangs under Windows

2003-07-07 Thread Andrew Alakozow
Hello, This may be OT, but may be not though Apache::Session is widely used under mod_perl. Apache::Session::Lock::File hangs under Windows if you try to remove session or add data to existing session. This happenes because you cannot "flock($self->{fh}, LOCK_EX)" if you already has

Re: mp2: Session method not seeming to set extra records?

2003-06-18 Thread Carl Brewer
Carl Brewer wrote: I'm an idiot :) It's important that the user accessing a MySQL database to do any work with Apache::Session::MySQL or Session have update permission as well as insert, select and delete on the sessions table. Carl

mp2: Session method not seeming to set extra records?

2003-06-17 Thread Carl Brewer
mp1.99.10-dev apache 2.0.46 Session-0.01 (by Olivier Poitrey) I've got a subroutine as follows : sub login { # checks supplied username & passwd against users table in db # if ok, creates a session & returns session_id & username # otherwise, returns 0 my ($

mp2: session/auth handlers stable enough to use?

2003-06-02 Thread Carl Brewer
I'm looking at Apache::SessionX from Embperl as a possible session tracker for an app I'm doing with Template::Toolkit, has anyone any comments/suggestions re how mature this, (or any other recommendations?) session tracking module is under mp2? I've read some comments on CPAN

Re: [error] Insecure dependency in unlink while running with-Tswitch at /usr/lib/perl5/site_perl/5.6.0/Apache/Session/Store/File.pmline106

2003-02-28 Thread Martin Moss
ebruary 28, 2003 2:52 PM Subject: Re: [error] Insecure dependency in unlink while running with-Tswitch at /usr/lib/perl5/site_perl/5.6.0/Apache/Session/Store/File.pmline106 > On Fri, 2003-02-28 at 09:10, Martin Moss wrote: > > I can't use Apache::DBI. > > I have multiple databa

Re: [error] Insecure dependency in unlink while running with-Tswitch at /usr/lib/perl5/site_perl/5.6.0/Apache/Session/Store/File.pmline106

2003-02-28 Thread Perrin Harkins
If you just want to cache data, don't use Apache::Session for that. Use IPC::MM, Cache::Mmap, Cache::FileCache, or MLDBM::Sync. - Perrin

Re: [error] Insecure dependency in unlink while running with -Tswitch at /usr/lib/perl5/site_perl/5.6.0/Apache/Session/Store/File.pm line106

2003-02-28 Thread Martin Moss
ially as I could be operating on 100's of records. I was using Apache::Session to generate session IDs and allow me to timeout users etc... Marty - Original Message - From: "Perrin Harkins" <[EMAIL PROTECTED]> To: "Martin Moss" <[EMAIL PROTECTED]> C

Re: [error] Insecure dependency in unlink while running with -Tswitch at /usr/lib/perl5/site_perl/5.6.0/Apache/Session/Store/File.pm line106

2003-02-28 Thread Perrin Harkins
On Fri, 2003-02-28 at 08:47, Martin Moss wrote: > Is Apache::Session::DB_type Faster than Apache::Session::File? It depends on your disk, OS, and filesystem. It stores all the files in one directory, which is quite slow on some systems and not a problem on others. > I already use a lot

Re: [error] Insecure dependency in unlink while running with -T switch at /usr/lib/perl5/site_perl/5.6.0/Apache/Session/Store/File.pm line 106

2003-02-28 Thread Martin Moss
Is Apache::Session::DB_type Faster than Apache::Session::File? I already use a lot of DB connections and I used Apache::Session::File to reduce this, Marty - Original Message - From: "Cees Hek" <[EMAIL PROTECTED]> To: "Martin Moss" <[EMAIL PROTECTED]> Cc:

Re: [error] Insecure dependency in unlink while running with -T switchat /usr/lib/perl5/site_perl/5.6.0/Apache/Session/Store/File.pm line 106

2003-02-27 Thread Stas Bekman
Quoting Martin Moss <[EMAIL PROTECTED]>: just a minor comment regarding untainting techniques. If do /(.*)/ to launder tainted vars as you did in: if ($Directory =~ /^XX_GR_XX(.*)XX_GR_XX$/) you can as well turn the taint mode off. For more info see: http://www.gunther.web66.com/FAQS/ta

Re: [error] Insecure dependency in unlink while running with -T switch at /usr/lib/perl5/site_perl/5.6.0/Apache/Session/Store/File.pm line 106

2003-02-27 Thread Cees Hek
Quoting Martin Moss <[EMAIL PROTECTED]>: > All, > Can Anybody see what I'm doing wrong here? > > I have the following error :- > [error] Insecure dependency in unlink while running with -T switch at > /usr/lib/perl5/site_perl/5.6.0/Apache/Session/Store/File.pm line 1

[error] Insecure dependency in unlink while running with -T switch at /usr/lib/perl5/site_perl/5.6.0/Apache/Session/Store/File.pm line 106

2003-02-27 Thread Martin Moss
All, Can Anybody see what I'm doing wrong here? I have the following error :- [error] Insecure dependency in unlink while running with -T switch at /usr/lib/perl5/site_perl/5.6.0/Apache/Session/Store/File.pm line 106. When I run the following subroutine:- sub delete_session { my $self=

Re: Table/row locking with Apache::Session::Mysql /Apache::Session::Flex

2003-02-26 Thread Perrin Harkins
md wrote: --- md <[EMAIL PROTECTED]> wrote: Is it possible to have row-level locking (as opposed to table-level or null locker) with MySQL 4.x and Apache::Session? You effectively have that already, since the MySQL locker only locks an individual session. Check the code. Looks like I ge

Re: Table/row locking with Apache::Session::Mysql /Apache::Session::Flex

2003-02-26 Thread md
--- md <[EMAIL PROTECTED]> wrote: > Is it possible to have row-level locking (as opposed > to table-level or null locker) with MySQL 4.x and > Apache::Session? Looks like I get that with InnoDB automatically... __ Do you Yah

Re: Table/row locking with Apache::Session::Mysql /Apache::Session::Flex

2003-02-26 Thread md
--- Perrin Harkins <[EMAIL PROTECTED]> wrote: > If you look at the actual contents of > Apache::Session::MySQL, you'll see > that it's essentially just a config file. There's > no need to be > concerned about using Flex, but you could easilly &

Re: Table/row locking with Apache::Session::Mysql /Apache::Session::Flex

2003-02-25 Thread md
--- Perrin Harkins <[EMAIL PROTECTED]> wrote: > It would be. Frankly, there is no value to the kind > of mutual exclusion > that the Apache::Session locking provides in a > typical web application. > If you use the null locker you will still get > atomic updates,

Re: Table/row locking with Apache::Session::Mysql /Apache::Session::Flex

2003-02-25 Thread Perrin Harkins
md wrote: Also, we'll soon be adding a substantial number of users to our system and I wonder if it would be wise to move away from the table locking that is currently being used with Apache::Session::MySQL. It would be. Frankly, there is no value to the kind of mutual exclusion that the A

Re: Table/row locking with Apache::Session::Mysql /Apache::Session::Flex

2003-02-25 Thread Cory 'G' Watson
On Tuesday, February 25, 2003, at 11:55 AM, md wrote: We're using Apache::Session::MySQL (Apache::Session 1.54) and occassionaly see long lock times. I had a similar problem a few months ago with Apache::Session::Postgres. I occasionally had Apache processes hang, and a quick ps aux sh

Table/row locking with Apache::Session::Mysql /Apache::Session::Flex

2003-02-25 Thread md
We're using Apache::Session::MySQL (Apache::Session 1.54) and occassionaly see long lock times. Also, we'll soon be adding a substantial number of users to our system and I wonder if it would be wise to move away from the table locking that is currently being used with Apache::Sess

RE: Apache::Session and Postgres

2003-02-25 Thread Grant McLean
Perrin Harkins wrote: > On Mon, 2003-02-24 at 07:09, Grant McLean wrote: > > I get this error: > > > > Can't locate object method "get_lock_manager" via package > > "Apache::Session::Postgres" > > > > And indeed, that method doe

Re: Apache::Session and Postgres

2003-02-24 Thread Perrin Harkins
On Mon, 2003-02-24 at 07:09, Grant McLean wrote: > I get this error: > > Can't locate object method "get_lock_manager" via package > "Apache::Session::Postgres" > > And indeed, that method does not seem to be defined in any of the modules > whi

Apache::Session and Postgres

2003-02-24 Thread Grant McLean
I'm trying to use Apache::Session::Postgres and not having much luck. When I try to create a new session like this: use Apache::Session::Postgres; tie %sess, 'Apache::Session::Postgres', undef, { Handle => $self->dbh, Commit => 1 }; I get this error: Ca

RE: mod_perl 2 apache::session and "or die"

2003-02-21 Thread Chris Faust
ECTED] >> Sent: Friday, February 21, 2003 12:02 PM >> To: Chris Faust >> Cc: Modperl >> Subject: Re: mod_perl 2 apache::session and "or die" >> >> >> Chris Faust wrote: >> > I think it is in the locking as if I let things hang long >

Re: mod_perl 2 apache::session and "or die"

2003-02-21 Thread Perrin Harkins
Chris Faust wrote: I think it is in the locking as if I let things hang long enough and then shut down Apache, I get a error of: Can't call method "disconnect" on an undefined value at /usr/lib/perl5/site_perl/5.6.1/Apache/Session/Lock/MySQL.pm line 89 during global destruction.

RE: mod_perl 2 apache::session and "or die"

2003-02-21 Thread Chris Faust
d value at /usr/lib/perl5/site_perl/5.6.1/Apache/Session/Lock/MySQL.pm line 89 during global destruction. Which is Apache::Session::Lock:MySQL I'm still no closer as to figuring out why though. -Chris >> -Original Message- >> From: Perrin Harkins [mailto:[EMAIL PROTECTED]] &

Re: mod_perl 2 apache::session and "or die"

2003-02-19 Thread Stas Bekman
not calling the right hooks when it traps a die() to trigger the DESTROY method in Apache::Session which releases all locks. You can find out exactly what's going on if you run it in the debugger (Apache::DB) or throw some debug logging into Apache::Session to find out where it gets stuck

Re: mod_perl 2 apache::session and "or die"

2003-02-19 Thread Perrin Harkins
when it traps a die() to trigger the DESTROY method in Apache::Session which releases all locks. You can find out exactly what's going on if you run it in the debugger (Apache::DB) or throw some debug logging into Apache::Session to find out where it gets stuck. This is the beauty of

mod_perl 2 apache::session and "or die"

2003-02-19 Thread Chris Faust
I'm having a problem since installing Apache::Session All works well except when there is any kind of problem in the script where the condition will die.. For example: $db->execute() or die... open yadda or die.. $db->prepare() or die... etc. When this happens everything to do with

Re: Apache::Session::File hangs

2003-01-19 Thread Perrin Harkins
Axel Huizinga wrote: The following code hangs after reloading and the try to tie again the previously created session! WHY? ... use vars qw( $id $sID $lockDir %session $sessionDir ); The session variable has to go out of scope for the lock to be released. I know

Apache::Session::File hangs

2003-01-19 Thread Axel Huizinga
Hi! The following code hangs after reloading and the try to tie again the previously created session! WHY? package Loop; use strict; use Apache; use Apache::Session::File; use CGI qw(:cgi); use Devel::Symdump; use Data::Dumper; use vars qw( $id $sID $lockDir %session

Re: Apache::Session

2003-01-16 Thread Randy Kobes
On Thu, 16 Jan 2003, Carl Holm wrote: > Hello, > > I am looking for a PPM version of Apache::Session for Perl (v5.8.0 > built for MSWin32-x86-multi-thread) > and Apache/2.0.43. Any pointers would be greatly appreciated. > > Thanks, > > Carl Holm > [EMAIL PROTE

RE: Apache::Session

2003-01-16 Thread Wilson, Allen
::Session Hello, I am looking for a PPM version of Apache::Session for Perl (v5.8.0 built for MSWin32-x86-multi-thread) and Apache/2.0.43. Any pointers would be greatly appreciated. Thanks, Carl Holm

Apache::Session

2003-01-16 Thread Carl Holm
Hello, I am looking for a PPM version of Apache::Session for Perl (v5.8.0 built for MSWin32-x86-multi-thread) and Apache/2.0.43. Any pointers would be greatly appreciated. Thanks, Carl Holm [EMAIL PROTECTED]

Re: Anyone ever have Apache::Session::File files getting corrupted?

2003-01-09 Thread Larry Leszczynski
> I think most people don't use Apache::Session::File in production. It's > more of a testing thing. In your situation, you would probably get > great performance from MLDBM::Sync with SDBM_File. I'd suggest trying > that if you can't determine the cause of

Re: Anyone ever have Apache::Session::File files getting corrupted?

2003-01-09 Thread Perrin Harkins
[EMAIL PROTECTED] wrote: Anyway, my question for now is whether anyone has seen corruption like this with Apache::Session::File in your typical multi-user mod_perl web app environment? I think most people don't use Apache::Session::File in production. It's more of a testing thing

Anyone ever have Apache::Session::File files getting corrupted?

2003-01-09 Thread FFabrizio
This is going to be a somewhat preliminary "feeler" post because we are not yet able to fully describe or recreate the bug we're seeing, but I'm hoping some of you have seen something similar. We use Apache::Session::File as the storage module for our Apache::Session sessions

Re: Apache::Session::MySQL

2002-12-28 Thread Richard
Great, thank you guys! I am trying to first fix my Apache::Session problem before I open a whole new bag of candy :o) Thank you very much for your input, I am grateful! Richard. - Original Message - From: "Perrin Harkins" <[EMAIL PROTECTED]> To: <[EMAIL PROT

Re: Apache::Session::MySQL

2002-12-28 Thread Perrin Harkins
> So by user nobody, you mean in the httpd.conf file in the tags the user and group? > > I have it set to user username and group username for each account, > since all of our boxes use SuExec. Okay, that may be an issue because SuExec does not work with mod_perl. Each apache daemon can only run

Re: Apache::Session::MySQL

2002-12-28 Thread George Valpak
At 01:25 PM 12/28/2002 -0600, Richard wrote: >So mod_perl is safe Ok. one other question. If I do upgrade to Mod_Perl, >can I still run regular Perl scripts, without using Mod_Perl, or do I have >to use one or the other, only. Richard, Yes,you can still run regular cgi, as with MP you have t

Re: Apache::Session::MySQL

2002-12-28 Thread Richard
So by user nobody, you mean in the httpd.conf file in the I just replied to the PerlMonks reply you did. Thank you. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, December 28, 2002 12:08 PM Subject: R

Re: Apache::Session::MySQL

2002-12-28 Thread perrin
should definitely take advantage of the speed increase. Depending on what you're doing, it can make a really huge difference in performance. I do recommend that you fix your current Apache::Session problem first, before thinking about converting to mod_perl. - Perrin

Re: Apache::Session::MySQL

2002-12-28 Thread Richard
your reply in a min. Thank you!) - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, December 28, 2002 11:49 AM Subject: Re: Apache::Session::MySQL > > Is this the correct list for help with Apache::Session

Re: Apache::Session::MySQL

2002-12-28 Thread perrin
> Is this the correct list for help with Apache::Session::MySQL? This is a good list for it if you are using mod_perl. If you're using CGI, try one of the CGI resources instead, or stick with perlmonks.org. I just replied to your post there a few minutes ago. - Perrin

Apache::Session::MySQL

2002-12-28 Thread Richard
Is this the correct list for help with Apache::Session::MySQL?   Thanks, Richard.  

Re: Apache::Session and user sessions

2002-12-09 Thread Perrin Harkins
ing a site and do searches in them. If you store search-related data in the session, the multiple windows will interfere with each other. These should be stored in the HTML instead. - Perrin

Re: Apache::Session and user sessions

2002-12-09 Thread Rafiq Ismail (ADMIN)
On Mon, 9 Dec 2002, Perrin Harkins wrote: > md wrote: > > My question is with regards to whether I need or > > should put the submitted data into the session as the > > user navigates the forms (to create an account). The > > user will be taken through three forms t

Re: Apache::Session and user sessions

2002-12-09 Thread Perrin Harkins
md wrote: My question is with regards to whether I need or should put the submitted data into the session as the user navigates the forms (to create an account). The user will be taken through three forms to create an account. So for instance, form one will ask the user to create a username

Re: Apache::Session and user sessions

2002-12-07 Thread md
--- Perrin Harkins <[EMAIL PROTECTED]> wrote: > Todd W wrote: > > I have a table with some basic user information > (first name, last name, > > address, > > phone number, etc...). > > That's permanent data, not session data. Session > data is transi

Re: Session managing using PerlTransHandler

2002-11-22 Thread Enrico Sorcinelli
On Fri, 22 Nov 2002 19:09:25 +0200 [EMAIL PROTECTED] wrote: > How I Can redirect to page http://foo.bar/ses1/index.html from PerlTransHandler >Module? Hi, the description of your problem is very... short. The chapter 5 of 'eagle' book explain how to put and strip session I

Session managing using PerlTransHandler

2002-11-22 Thread dima
How I Can redirect to page http://foo.bar/ses1/index.html from PerlTransHandler Module?

Re: New module : Apache::Session::Manager

2002-11-18 Thread Clinton Gormley
ot to write your own session manager article..." to compliment his Templating article. Apologies for this. I'll haul my sorry ass back to my machine now. Clint

Re: New module : Apache::Session::Manager

2002-11-18 Thread Enrico Sorcinelli
On 16 Nov 2002 13:24:13 +0200 Clinton Gormley <[EMAIL PROTECTED]> wrote: > I've written a new module as a wrapper around Apache::Session which > provides short term (ie session) tracking (which is something that > Apache::SessionManager and Apache::SessionX provide), but t

New module : Apache::Session::Manager

2002-11-16 Thread Clinton Gormley
I've written a new module as a wrapper around Apache::Session which provides short term (ie session) tracking (which is something that Apache::SessionManager and Apache::SessionX provide), but this adds long term user tracking, and methods to aid login, logout etc. It is meant to be subcl

Re: problem with session ids

2002-11-14 Thread Michael A Nachbaur
Minas wrote: Recently I installed the Apache::Session module on my server in order to give a kind of identity to my e-shop visitors, seems to work but generates different session ids when I reload the bellow test cgi. What can I do in order to have my visitor the same session id, up to close his

Re: problem with session ids

2002-11-13 Thread Perrin Harkins
Minas wrote: Recently I installed the Apache::Session module on my server in order to give a kind of identity to my e-shop visitors, seems to work but generates different session ids when I reload the bellow test cgi. What can I do in order to have my visitor the same session id, up to close his

problem with session ids

2002-11-13 Thread Minas
Recently I installed the Apache::Session module on my server in order to give a kind of identity to my e-shop visitors, seems to work but generates different session ids when I reload the bellow test cgi. What can I do in order to have my visitor the same session id, up to close his web

[PATCH] Apache::Session

2002-10-25 Thread Enrico Sorcinelli
Hi Jeffrey, I've found a little bug in clean method of Apache::Session::Lock::File when it checks lockfiles last access time. In effects the result of the expression (file ./Session/Lock/File.pm, line 136) (stat($dir.'/'.$file))[8] - $now is always negative and lock di

Apache::Session - suggestion for man page

2002-10-16 Thread Rodney Hampton
1)I am using Apache::Session::File to maintain state information (just a user_id and a few small items). 2)The man page for Apache::Session indicates that the following regexp should be used to find the session cookie. $cookie =~ s/SESSION_ID=(\w*)/$1/; 3)This $cookie value is then used in a

Re: identifying a unique browser session

2002-10-07 Thread Perrin Harkins
Martin Moss wrote: > How would I go about identifying if a user logs in from 2 different > browsers? Can you be more specific? Do you mean two browser windows, or two different browser programs on the same machine, or two different machines? > I Have a Session object, but I want to

identifying a unique browser session

2002-10-07 Thread Martin Moss
All, How would I go about identifying if a user logs in from 2 different browsers? I Have a Session object, but I want to hold data within that session object that identifies which browser a user is using. So I can confirm that a user who provides a session key in their cookie, is checked and

Re: urls with session info

2002-10-03 Thread Enrico Sorcinelli
On Thu, 3 Oct 2002 00:43:12 -0500 (CDT) Gabriel C Millerd <[EMAIL PROTECTED]> wrote: > i have been trying to write a handler that will provide me with session > data using the URL (eg, http://www.domain.com/$sessionid . $r->url) like > the eagle books has on p246. >in ad

urls with session info

2002-10-02 Thread Gabriel C Millerd
i have been trying to write a handler that will provide me with session data using the URL (eg, http://www.domain.com/$sessionid . $r->url) like the eagle books has on p246. in addition i am serving a cookie with that same $sessionid and then comparing to two $sessionid's in

Re: Apache::Session and user sessions

2002-09-23 Thread Todd W
> >It's just a storage mechanism. Typically the procedure is that one a user >identified herself with some kind of login process, you put her user ID (a >primary key to a database table) into the session, and keep it as a key for >accessing that data. > >>I have

Re: Apache::Session and user sessions

2002-09-22 Thread Perrin Harkins
Todd W wrote: > Im looking at Apache::Session and trying to figure out what it does. It provides shared storage of a hash of data, and gives you a unique ID that you can tie to a user. > From what I > can tell, Apache::Session will only give generic sessions, of which I know > n

Apache::Session and user sessions

2002-09-20 Thread Todd W
Im looking at Apache::Session and trying to figure out what it does. What I want to do is tie sessions to a particular record in a database table. From what I can tell, Apache::Session will only give generic sessions, of which I know nothing about the user untill they give me information

HTML::Mason + Apache::Session problem

2002-09-11 Thread Ufuk Yuzereroglu
Hi I am running a RedHat 7.3 server with kernel 2.4.18, Apache 1.3.26, mod_perl 1.26-5 and Apache::Session and HTML:Mason-1.05 modules. When I try to start apache i get the error message Starting httpd: Subroutine status_mason redefined at /usr/lib/perl5/vendor_perl/5.6.1/i386-linux/Apache

  1   2   3   4   5   6   7   8   9   10   >