Re: ANN/RFC: Apache::Session::Generate variants

2001-10-10 Thread Tatsuhiko Miyagawa
On Wed, 10 Oct 2001 17:23:04 -0700 (PDT) Ask Bjoern Hansen [EMAIL PROTECTED] wrote: Apache::Session::Generate::ModUsertrack http://bulknews.net/lib/archives/Apache-Session-Generate-ModUsertrack-0.01.tar.gz http://bulknews.net/lib/archives/Apache-Session-Generate-ModUsertrack-0.01.html

Re: ANN/RFC: Apache::Session::Generate variants

2001-10-10 Thread Tatsuhiko Miyagawa
On Wed, 10 Oct 2001 17:22:23 -0700 (PDT) Ask Bjoern Hansen [EMAIL PROTECTED] wrote: Note that if you try to use these modules functionality, Apache::Session::Flex should be patched with one included in both tarballs. I sent a patch to Jeffrey last week or such that (I imagine) covers

Re: ANN/RFC: Apache::Session::Generate variants

2001-10-10 Thread Dave Rolsky
. If not, it'd be good to give it to someone else. Hell, I'll volunteer if no one more interested comes along. I don't have any big plans for it but I can at least integrate patches and such. Apache::Session is in use in a lot of places and it would be good to have an active maintainer. -dave

Re: Apache::ASP - using Apache::Session

2001-09-21 Thread Joshua Chamas
Jindo Soul wrote: Hi! I recently made a decision to adopt Apache::ASP as the template tool for my site. The only thing I'd like to find out is whether or not Apache::ASP works with Apache::Session. I read from an online article http://perl.apache.org/features/tmpl-cmp.html that Apache

Apache::ASP - using Apache::Session

2001-09-20 Thread Jindo Soul
Hi! I recently made a decision to adopt Apache::ASP as the template tool for my site. The only thing I'd like to find out is whether or not Apache::ASP works with Apache::Session. I read from an online article http://perl.apache.org/features/tmpl-cmp.html that Apache::ASP can be hookied

RFC: Apache::Session::CacheAny

2001-09-09 Thread Tatsuhiko Miyagawa
Announcing the Adapter module which provides a way to use Cache::Cache subclasses as Apache::Session storage implementation. http://bulknews.net/lib/archives/Apache-Session-CacheAny-0.01.readme http://bulknews.net/lib/archives/Apache-Session-CacheAny-0.01.tar.gz Any suggestions are welcome

Re: RFC: Apache::Session::CacheAny

2001-09-09 Thread Perrin Harkins
Tatsuhiko Miyagawa wrote: Announcing the Adapter module which provides a way to use Cache::Cache subclasses as Apache::Session storage implementation. Hmmm... Don't take this the wrong way, but what's the purpose of this? Apache::Session does very little beyond what Cache::Cache does

Re: RFC: Apache::Session::CacheAny

2001-09-09 Thread princepawn
Perrin Harkins writes: Tatsuhiko Miyagawa wrote: Announcing the Adapter module which provides a way to use Cache::Cache subclasses as Apache::Session storage implementation. Hmmm... Apache::Session does very little beyond what Cache::Cache does. In fact, the only things I

Re: RFC: Apache::Session::CacheAny

2001-09-09 Thread Perrin Harkins
princepawn wrote: Above and beyond the efficiency issues you discuss above, could you comment on what Apache::Session would need to be useful in a serious project? I was commenting specifically on the ID generation. The algorithm supplied does not guarantee unique IDs, especially when you

Re: RFC: Apache::Session::CacheAny

2001-09-09 Thread Tatsuhiko Miyagawa
On Sun, 09 Sep 2001 15:24:14 -0700 Perrin Harkins [EMAIL PROTECTED] wrote: Announcing the Adapter module which provides a way to use Cache::Cache subclasses as Apache::Session storage implementation. Hmmm... Don't take this the wrong way, but what's the purpose of this? To glue Cache

Re: RFC: Apache::Session::CacheAny

2001-09-09 Thread Perrin Harkins
Tatsuhiko Miyagawa wrote: Cache::Cache is a cache interface for any key-value pairs with optioinal automatic expire purge. Apache::Session is a framework for persisntent hash data with unique identifier and automatic serialiization/deserialization for hash. To me, they both look like

Re: RFC: Apache::Session::CacheAny

2001-09-09 Thread Tatsuhiko Miyagawa
On Sun, 09 Sep 2001 18:33:11 -0700 Perrin Harkins [EMAIL PROTECTED] wrote: To me, they both look like persistent hashes. Apache::Session assumes you will be storing a serialized hash in each hash value, and that it will generate IDs for keys if you don't supply one, but otherwise they're

Apache::Session::File and free memory weirdness

2001-08-30 Thread Larry Leszczynski
Hi All - I'm running Apache, mod_perl and HTML::Mason on Solaris 2.6, and using Apache::Session::File for session management. I've been monitoring free memory as reported by top, and I'm seeing some behavior that is totally baffling me. (If you're interested, there's a graph at: http

Re: Apache::Session::File and free memory weirdness

2001-08-30 Thread Perrin Harkins
with less memory shared. I'm not sure exactly why this is, but it does seem to happen. A nightly complete restart of the server will reset things, but you may not have that option. Odd thing #2: (This part seems most bizarre to me.) At 5:15 AM, we run a Perl script that finds and deletes Apache

Re: Apache::Session::File and free memory weirdness

2001-08-30 Thread Adi Fairbank
Perrin Harkins wrote: Odd thing #1: As it gets into evening time, load on the machine drops off and there are fewer httpd children running, but I am not seeing free memory return to that 1.3GB level. At most it comes back up to 400MB or so. I don't think the httpd children are

Apache::Session not updating session

2001-08-14 Thread Michael A Nachbaur
I really hope this isn't a FAQ, but I've lost more hair over this problem than I really should have, which is why I'm here. I'm using Apache::Session::File, and am setting a cookie for my sessionid, and my code is currently running in plain-old CGI mode (one of the libraries I'm using keeps

Re: Apache::Session not updating session

2001-08-14 Thread Tatsuhiko Miyagawa
On Tue, 14 Aug 2001 00:27:28 -0700 Michael A Nachbaur [EMAIL PROTECTED] wrote: I'm using Apache::Session::File, and am setting a cookie for my sessionid, and my code is currently running in plain-old CGI mode (one of the libraries I'm using keeps segfaulting under mod_perl for some strange

Re: Apache::Session not updating session

2001-08-14 Thread Mike P. Mikhailov
Hello Michael A Nachbaur, Tuesday, August 14, 2001, 12:27:28 PM, you wrote: MAN I really hope this isn't a FAQ, but I've lost more hair over this problem MAN than I really should have, which is why I'm here. MAN I'm using Apache::Session::File, and am setting a cookie for my sessionid, MAN

Re: Apache::Session not updating session

2001-08-14 Thread Todd Finney
At 03:27 AM 8/14/01, Michael A Nachbaur wrote: I'm using Apache::Session::File, and am setting a cookie for my sessionid, and my code is currently running in plain-old CGI mode (one of the libraries I'm using keeps segfaulting under mod_perl for some strange reason). When I visit the CGI

Re: Apache::Session not updating session

2001-08-14 Thread Jeffrey W. Baker
On Tue, 14 Aug 2001, Todd Finney wrote: Isn't that what tied(%session)-make_modifed; is for? Yep.

Re: Apache::Session not updating session

2001-08-14 Thread Todd Finney
At 11:07 AM 8/14/01, Jeffrey W. Baker wrote: On Tue, 14 Aug 2001, Todd Finney wrote: Isn't that what tied(%session)-make_modifed; is for? Yep. Perhaps it might be a good idea to mention it in the Apache::Session perldoc. I'm using 1.5mumble, and there's no word of it there. cheers, Todd

RE: Apache::Session not updating session

2001-08-14 Thread Geoffrey Young
-Original Message- From: Todd Finney [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 14, 2001 11:19 AM To: [EMAIL PROTECTED] Subject: Re: Apache::Session not updating session At 11:07 AM 8/14/01, Jeffrey W. Baker wrote: On Tue, 14 Aug 2001, Todd Finney wrote: Isn't

RE: Apache::Session not updating session

2001-08-14 Thread Todd Finney
At 11:39 AM 8/14/01, Geoffrey Young wrote: -Original Message- From: Todd Finney [mailto:[EMAIL PROTECTED]] Subject: Re: Apache::Session not updating session At 11:07 AM 8/14/01, Jeffrey W. Baker wrote: On Tue, 14 Aug 2001, Todd Finney wrote: Isn't that what tied(%session

Re: Apache::Session not updating session

2001-08-14 Thread Michael A Nachbaur
Okay, thank you all for your suggestions. It was the deep modifications that were killing me. I just did a handy-dandy: $session{timestamp} = time; and that fixed everything. -man Michael A Nachbaur

Apache::Session install errors

2001-07-02 Thread Bakki Kudva
this may be slightly OT but when try to install Apache::Session I am getting... t/99mysql...DBI-connect(sessions) failed: Access denied for user: '@localhost' to database 'sessions' at blib/lib/Apache/Session/Lock/MySQL.pm line 36 (in cleanup) DBI-connect(sessions) failed: Access

Re: Apache::Session install errors

2001-07-02 Thread Jeffrey W. Baker
On Mon, 2 Jul 2001, Bakki Kudva wrote: this may be slightly OT but when try to install Apache::Session I am getting... I suggest force install Apache::Session -jwb

Re: where to report apache::session 1.53 bug ?

2001-06-28 Thread Iwan Garnadi
in Apache::Session ver 1.53 BUG : 1. Flex , using Apache::Session::File bug in Apache::Session TIEHASH method for validate attribute in line 379 : {$self-{validate}}($self); I am just commented this to get by pass the error ! this is below sample of code that cause error : ( Would

Re: where to report apache::session 1.53 bug ?

2001-06-28 Thread Vivek Khera
GB == Gunther Birznieks [EMAIL PROTECTED] writes: GB Most of the time it is really bad to email open source authors GB directly. [ .. ] GB That's the job of open forums like this. So the author continues time GB to write new updates while the forums basically run themselves with GB other

Re: where to report apache::session 1.53 bug ?

2001-06-28 Thread Tatsuhiko Miyagawa
Hi, Here are patches I've made ages ago. http://bulknews.net/lib/archives/Apache-Session-File.pm.patch http://bulknews.net/lib/archives/Apache-Session-Flex.pm.patch Thanks On Thu, 28 Jun 2001 19:15:33 +0700 Iwan Garnadi [EMAIL PROTECTED] wrote: BUG : 1. Flex , using Apache::Session::File

where to report apache::session 1.53 bug ?

2001-06-27 Thread Iwan Garnadi
I don't know where to report apache::session bug , because I sent to the author , I didn't get any reply yet

RE: where to report apache::session 1.53 bug ?

2001-06-27 Thread Knox, Laurie A, NPONS
Could you Please share your bug info with us? I am using Apache::Session now and having troubles with it... Thank you! Laurie -Original Message- From: Iwan Garnadi [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 27, 2001 5:50 PM To: [EMAIL PROTECTED] Subject: where to report

Re: where to report apache::session 1.53 bug ?

2001-06-27 Thread Jeffrey W. Baker
On Thu, 28 Jun 2001, Iwan Garnadi wrote: I don't know where to report apache::session bug , because I sent to the author , I didn't get any reply yet Maybe you will have to wait more than four days... -jwb

Re: where to report apache::session 1.53 bug ?

2001-06-27 Thread Gunther Birznieks
to write new updates while the forums basically run themselves with other people sharing ideas and support. At 04:50 AM 6/28/01 +0700, Iwan Garnadi wrote: I don't know where to report apache::session bug , because I sent to the author , I didn't get any reply yet

advice on Apache::DBI Apache::Session and Apache::AuthCookieDBI intergration

2001-06-03 Thread Clayton Cottingham aka drfrog
Hi all, ive just been researching these a bit and I'm wondering if anyone has good advice/links on how to link these three Modules together ? heres what im caught on : 1.is it best to load Apache::DBI at start up of apache and can i load more than one connection type? 2.is it best to login and

Re: advice on Apache::DBI Apache::Session and Apache::AuthCookieDBI intergration

2001-06-03 Thread Martin Redington
connection, Apache::DBI will open a new connection. To get this other connection pre-opened, just add $dbh2 = Apache::DBI-connect_on_init($driver2, $user2, $pwd2); to your startup.pl I haven't used Apache::Session, so I can't help you with the rest ... cheers, Martin 2.is it best

Re: Apache::Session / No-Cookie-Tracking

2001-05-26 Thread Issac Goldstand
PROTECTED] Sent: Friday, May 25, 2001 6:29 PM Subject: FW: Apache::Session / No-Cookie-Tracking Sure - I believe in magic, depending on your definition of it. I KNOW there's a 4th method, because I've seen it work. There is an e-commerce web site which uses an outside cart programmed in CGI (Perl

Apache::Session / No-Cookie-Tracking

2001-05-25 Thread Jonathan Hilgeman
or changed. Now, two questions: 1) Will Apache::Session provide an environment variable like HTTP_USER_AGENT that will contain an identifier that will always be consistent for that specific user, despite proxies and firewalls, and despite the changing/closing of windows? 2) If not, does anyone know

Re: Apache::Session / No-Cookie-Tracking

2001-05-25 Thread Ilya Martynov
closed or changed. JH Now, two questions: JH 1) Will Apache::Session provide an environment variable like JH HTTP_USER_AGENT that will contain an identifier that will always JH be consistent for that specific user, despite proxies and JH firewalls, and despite the changing/closing of windows? JH

FW: Apache::Session / No-Cookie-Tracking

2001-05-25 Thread Jonathan Hilgeman
on another site without using cookies at all, that would be fantastic! Jonathan -Original Message- From: Ilya Martynov [mailto:[EMAIL PROTECTED]] Sent: Friday, May 25, 2001 9:02 AM To: Jonathan Hilgeman Cc: '[EMAIL PROTECTED]' Subject: Re: Apache::Session / No-Cookie-Tracking JH I want

Re: Apache::Session / No-Cookie-Tracking

2001-05-25 Thread Perrin Harkins
Sure - I believe in magic, depending on your definition of it. I KNOW there's a 4th method, because I've seen it work. There is an e-commerce web site which uses an outside cart programmed in CGI (Perl?). The original web site passes no identifying marks such as the session ID through the URL

Re: FW: Apache::Session / No-Cookie-Tracking

2001-05-25 Thread James G Smith
Jonathan Hilgeman [EMAIL PROTECTED] wrote: [snip] I accidentally caught them during testing or something and got a variable on the URL line. (I substituted the domain name - it's not really cart.com) http://www.cart.com/cgi-bin/cart.cgi?cartidnum=208.144.33.190T990806951R5848 E cartidnum seems

RE: Apache::Session / No-Cookie-Tracking

2001-05-25 Thread Jonathan Hilgeman
: Re: Apache::Session / No-Cookie-Tracking JH Sure - I believe in magic, depending on your definition of it. I KNOW JH there's a 4th method, because I've seen it work. There is an e-commerce web JH site which uses an outside cart programmed in CGI (Perl?). The original web JH site passes

RE: Apache::Session / No-Cookie-Tracking

2001-05-25 Thread Joe Breeden
in the JH URL, in case the window gets closed or changed. JH Now, two questions: JH 1) Will Apache::Session provide an environment variable like JH HTTP_USER_AGENT that will contain an identifier that will always JH be consistent for that specific user, despite proxies and JH firewalls, and despite

RE: Apache::Session / No-Cookie-Tracking

2001-05-25 Thread Joe Breeden
PROTECTED]] Sent: Friday, May 25, 2001 11:29 AM To: '[EMAIL PROTECTED]' Subject: FW: Apache::Session / No-Cookie-Tracking Sure - I believe in magic, depending on your definition of it. I KNOW there's a 4th method, because I've seen it work. There is an e-commerce web site which uses an outside cart

RE: Apache::Session / No-Cookie-Tracking

2001-05-25 Thread Joe Breeden
- generally more reliable. Joe -Original Message- From: Jonathan Hilgeman [mailto:[EMAIL PROTECTED]] Sent: Friday, May 25, 2001 11:51 AM To: 'Ilya Martynov' Cc: '[EMAIL PROTECTED]' Subject: RE: Apache::Session / No-Cookie-Tracking The feeling of magic only lasts until you know how it's done

RE: Apache::Session / No-Cookie-Tracking

2001-05-25 Thread Alex Porras
Explorer 5.x does NOT store session cookies on disk, but other browsers may. --Alex -Original Message- From: Joe Breeden Sent: Friday, May 25, 2001 12:55 PM To: '[EMAIL PROTECTED]' Subject: RE: Apache::Session / No-Cookie-Tracking Seems like the site in question is using either

[Mason] Apache::Session not storing changes to hashref

2001-05-23 Thread Jared Rhine
of the Apache::Session man page, you'll find: Note that Apache::Session does only a shallow check to see if anything has changed. If nothing changes in the top level tied hash, the data will not be updated in the back- ing store. You are encouraged to timestamp the session hash so that it is sure

Apache::Session not storing changes to hashref

2001-05-22 Thread Chris Thompson
I'm at wits end, I'm hoping someone can tell me what's wrong. This is Apache 1.3.19, Redhat 6.2, modperl 1.25, apache::session 1.53 and MySQL 3.23.36. (This is also happening inside HTML::Mason 1.03, but I dont think that has anything to do with it. I've crossposted to the mason list in case

Re: [Mason] Apache::Session not storing changes to hashref

2001-05-22 Thread Dave Baker
(Apache::Session doesn't recurse into the data structure to look for changes) somewhere ... I use this whenever changing the session to force it to always get written back to the database: tied(%session)-make_modified; Dave --=20 - Dave Baker : [EMAIL PROTECTED] : [EMAIL PROTECTED] : http

Re: Apache::Session not storing changes to hashref

2001-05-22 Thread Jeffrey W. Baker
On Tue, 22 May 2001, Chris Thompson wrote: I'm at wits end, I'm hoping someone can tell me what's wrong. This is Apache 1.3.19, Redhat 6.2, modperl 1.25, apache::session 1.53 and MySQL 3.23.36. (This is also happening inside HTML::Mason 1.03, but I dont think that has anything to do

Re: Apache::Session not storing changes to hashref

2001-05-22 Thread Cees Hek
Apache::Session only does a shallow check of your data structure to see if it needs to update the database. If you are only changing values deep inside a hash structure, A::S will not see the changes, and they will not be saves. The man page recommends adding a timestamp to the tied hash

the object still does not exists in Apache::Session

2001-05-15 Thread Francesc Guasch
This is an old issue. I recall having patched Apache:Session so it evals when restoring objects from the Data Store. When the database of sessions is cleaned the server dies with Object does not exist in the data store I just installed a server and I had to patch it myself again. Am I the only

Apache::Session::Flex

2001-05-04 Thread Tatsuhiko Miyagawa
Hi, Apache::Session::Flex doesn't work well when restoring object with existing session id. It is because Apache::Session tries to call A::S::Generate::* (currently MD5 only) class's validate() method which Apache::Session::Flex doesn't set. Patch below fixes this. --- Flex.pm.origFri

Apache::Session problems, film at 11:00 ...

2001-04-29 Thread Christopher L. Everett
All: I'm getting very odd behavior out of Apache::Session, with serious problems using both the MySQL and File variants. Yes, I know I've come here with this problem before. Sigh. I even fixed it, although it was one of those things where I didn't quite know why it started working. Anyway

Patch for Apache::Session::Lock::File

2001-04-12 Thread Tatsuhiko Miyagawa
Here's a patch for Apache::Session::Lock::File::clean(), which can never clean up the session files. --- File.pm.origThu Apr 12 15:37:08 2001 +++ File.pm Thu Apr 12 15:37:36 2001 @@ -133,7 +133,7 @@ my @files = readdir(DIR); foreach my $file (@files) { if ($file

apache : session

2001-04-09 Thread rene mendoza
this is probably off topic, i dont know if i should post this here i have a web site running mod,_perl, apache-session, and mason. when a user logins to a members -only area in my server the username and password are posted to an ssl enabled web server (which i have no control about

Apache::Session::Postgres Segmentation Fault

2001-03-29 Thread Victor Michael Blancas
I'm using Apache::Session::Postgres with Apache::ASP. I'm getting a Segmentation Fault whenever I do a $dbh-disconnect at the end of the script. When I comment out the the $dbh-disconnect however, I don't get any errors. Having a script without a $dbh-disconnect at the end is wrong isn't

Apache::Session::Postgres Segmentation Fault Addendum

2001-03-29 Thread Victor Michael Blancas
I'm using Apache::Session::Postgres with Apache::ASP. I'm getting a Segmentation Fault whenever I do a $dbh-disconnect at the end of the script. When I comment out the the $dbh-disconnect however, I don't get any errors. Having a script without a $dbh-disconnect at the end is wrong isn't

Re: Apache::Session::Postgres Segmentation Fault Addendum

2001-03-29 Thread Jeffrey W. Baker
On Thu, 29 Mar 2001, Victor Michael Blancas wrote: I'm using Apache::Session::Postgres with Apache::ASP. I'm getting a Segmentation Fault whenever I do a $dbh-disconnect at the end of the script. When I comment out the the $dbh-disconnect however, I don't get any errors. Having a script

Re: Apache::Session::Postgres Segmentation Fault Addendum

2001-03-29 Thread Joshua Chamas
Victor Michael Blancas wrote: I'm using Apache::Session::Postgres with Apache::ASP. I'm getting a Segmentation Fault whenever I do a $dbh-disconnect at the end of the script. When I comment out the the $dbh-disconnect however, I don't get any errors. Having a script without a $dbh

Re: Apache::Session::Postgres Segmentation Fault Addendum

2001-03-29 Thread Matt Sergeant
On Thu, 29 Mar 2001, Victor Michael Blancas wrote: I'm using Apache::Session::Postgres with Apache::ASP. I'm getting a Segmentation Fault whenever I do a $dbh-disconnect at the end of the script. When I comment out the the $dbh-disconnect however, I don't get any errors. Having a script

Re: Apache::Session::Postgres Segmentation Fault Addendum

2001-03-29 Thread Cees Hek
On Thu, 29 Mar 2001, Victor Michael Blancas wrote: I'm using Apache::Session::Postgres with Apache::ASP. I'm getting a Segmentation Fault whenever I do a $dbh-disconnect at the end of the script. When I comment out the the $dbh-disconnect however, I don't get any errors. Having a script

Re: Apache::Session problems

2001-03-29 Thread Christopher L. Everett
Cees Hek wrote: On Mon, 26 Mar 2001, Christopher L. Everett,,, wrote: Apache::Session::MySQL won't save session state. Apache::Session::File returns the following error: Insecure dependency in open while running with -T switch at /usr/local/lib/perl5/site_perl/5.6.0/Apache/Session

Apache::Session problems

2001-03-26 Thread Christopher L. Everett,,,
Apache::Session::MySQL won't save session state. Apache::Session::File returns the following error: Insecure dependency in open while running with -T switch at /usr/local/lib/perl5/site_perl/5.6.0/Apache/Session/Lock/File.pm line 40. here's the code in question: sub put_or_del_session { my

Re: Apache::Session problems

2001-03-26 Thread Kee Hinckley
will have to untaint the $session_id variable before you pass it to Apache::Session, and this error message should go away. See the perl manpages on how to untaint variables... It looks to me like there's code in Session.pm that validates the session id to make sure it's safe. It seems to me

row locking problems with AutoCommit, Apache::Session, and Oracle

2001-03-08 Thread Dan McCormick
Hi, I've been experiencing row locking problems using Oracle 8.1.6 and Apache::Session with AutoCommit on. It seems that when AutoCommit is on, doing a "select for update" locks the row until you execute a subsequent update command or issue an explicit commit statement. (You can

Re: Apache::Session::File

2001-02-06 Thread harilaos
How do i change this locking mechanish of win32? Am i using the wrong module? From apache::session::* modules do you know which are supposed to work on win32? Thanks Gunther Birznieks wrote: You need to change the locking mechanism on Win32 to not use IPC. I believe there are examples

Apache::Session::File

2001-02-05 Thread harilaos
Hello, I ma trying to use this module to store persident data on file on win32 environment. I use the code: use Apache; use Apache::Session::File; use CGI qw/:standard/; use CGI::Carp qw(fatalsToBrowser); print header(); print start_html; my %global_data; eval { tie %global_data

Re: Apache::Session::File

2001-02-05 Thread Gunther Birznieks
, harilaos wrote: Hello, I ma trying to use this module to store persident data on file on win32 environment. I use the code: use Apache; use Apache::Session::File; use CGI qw/:standard/; use CGI::Carp qw(fatalsToBrowser); print header(); print start_html; my %global_data; eval { tie

Apache::Session::DB_File and open sessions

2001-01-19 Thread Todd Finney
I'm having a hard time with Apache::Session::DB_File, and I think I have it narrowed down to a small enough problem to ask about it. I haven't given up on A::S::Postgres, I'm just trying to get things working with DB_File before I try to solve my other problem. The one-sentence version

Re: Apache::Session::DB_File and open sessions

2001-01-19 Thread Perrin Harkins
Todd Finney wrote: The one-sentence version of my question is: Is there a problem with tying a session twice during two different HeaderParserHandlers, as long as your doing the standard cleanup stuff (untie | make_modified) in each? It seems like the answer should be no unless there's some

Re: Apache::Session::DB_File and open sessions

2001-01-19 Thread Todd Finney
Thanks to Perrin's suggestion (read: clue brick), things are much happier now. Going around the problem is just as good as fixing it, I suppose. I'm still curious about that behavior, though. cheers, Todd At 04:22 AM 1/19/01, Perrin Harkins wrote: Todd Finney wrote: The one-sentence

Re: Apache::Session::Postgres error

2001-01-17 Thread Dirk Lutzebaeck
Hi, I would just like to tune in here. I am using Apache::Session 1.53 also with postgres and have the problem that sessions are not closed in any case. I am also using Embperl 1.3.0 but maintaining the session variable on my own. The effect is that when apache is restarted everything works fine

Apache::Session::Postgres error

2001-01-16 Thread Todd Finney
I'm using Apache::Session::Postgres to track sessions via cookies. When I access a page, the cookie is correctly sent by the server, and accepted by the client. However, on the second request, I'm getting a 'Object does not exist in data store' error. It looks like the session is not being

Re: Apache::Session::Postgres error

2001-01-16 Thread Edmund Mergl
Todd Finney wrote: I'm using Apache::Session::Postgres to track sessions via cookies. When I access a page, the cookie is correctly sent by the server, and accepted by the client. However, on the second request, I'm getting a 'Object does not exist in data store' error. It looks like

Re: Apache::Session::Postgres error

2001-01-16 Thread Todd Finney
the explanation of Francis J. Lacoste from Sun, 17 Oct 1999. Yes, I saw that. Francis was addressing the use of Apache::Session::DBI, however. Since that time, JWB has released Apache::Session::Postgres and Apache::Session::Store::Postgres, the data store for the former. I (perhaps incorrectly) assumed

Re: Apache::Session::Postgres error

2001-01-16 Thread Jeffrey W. Baker
On Tue, 16 Jan 2001, Todd Finney wrote: I'm using Apache::Session::Postgres to track sessions via cookies. When I access a page, the cookie is correctly sent by the server, and accepted by the client. However, on the second request, I'm getting a 'Object does not exist in data store

Re: Apache::Session::Postgres error

2001-01-16 Thread Jeffrey W. Baker
On Tue, 16 Jan 2001, Edmund Mergl wrote: Todd Finney wrote: I'm using Apache::Session::Postgres to track sessions via cookies. When I access a page, the cookie is correctly sent by the server, and accepted by the client. However, on the second request, I'm getting a 'Object does

Re: Apache::Session::Postgres error

2001-01-16 Thread Edmund Mergl
Edmund Mergl wrote: Todd Finney wrote: I'm using Apache::Session::Postgres to track sessions via cookies. When I access a page, the cookie is correctly sent by the server, and accepted by the client. However, on the second request, I'm getting a 'Object does not exist in data

Re: Apache::Session::MySQL question regarding lenght of _session_id

2000-12-19 Thread Jeffrey W. Baker
On Mon, 18 Dec 2000, Andreas Marienborg wrote: I just can't seem to find any info on how to specify that Apache::Session should create session_id's that are shorter than 32 hex chars? could someone point me in the right direction?? You can use the argument 'IDLength' when using Apache

Apache::Session::MySQL question regarding lenght of _session_id

2000-12-18 Thread Andreas Marienborg
I just can't seem to find any info on how to specify that Apache::Session should create session_id's that are shorter than 32 hex chars? could someone point me in the right direction?? thanks in advance Andreas -- Andreas Marienborg +47 92 28 63 82 [EMAIL PROTECTED

Re: Apache::Session::MySQL question regarding lenght of _session_id

2000-12-18 Thread Aaron E. Ross
at a time earlier than now, Andreas Marienborg wrote: I just can't seem to find any info on how to specify that Apache::Session should create session_id's that are shorter than 32 hex chars? could someone point me in the right direction?? Just write a module to sub class Apache::Session

Re: Apache::Session::MySQL question regarding lenght of _session_id

2000-12-18 Thread Andreas Marienborg
On Mon, 18 Dec 2000, Aaron E. Ross wrote: at a time earlier than now, Andreas Marienborg wrote: I just can't seem to find any info on how to specify that Apache::Session should create session_id's that are shorter than 32 hex chars? could someone point me in the right direction?? Just

Re: Apache::Session benchmarks

2000-12-12 Thread Perrin Harkins
FYI-- here are some Apache::Session benchmark results. As with all benchmarks, this may not be applicable to you. Thanks for taking the time to run these and write up the results. Benchmark: This benchmark measures the time taken to do a create/read for 1000 sessions. It does not destroy

Re: Apache::Session benchmarks

2000-12-12 Thread Gerald Richter
Question: does anyone know how to pre-specify the _session_id for the session, rather than allowing Apache::Session to set it and read it? I saw some posts about it a while back, but no code... Isn't it just this? tie %session, 'Apache::Session::Foobar', $id; That only works

Re: Apache::Session benchmarks

2000-12-12 Thread Leon Brocard
Gerald Richter sent the following bits through the ether: That only works if the session id already exists. If the session id doesn't exists, Apache::Session will throw an exception (die) The documentation implies that is it currently possible to do so. I'd love for it to be possible to do so

Re: Apache::Session benchmarks

2000-12-12 Thread Gerald Richter
Gerald Richter sent the following bits through the ether: That only works if the session id already exists. If the session id doesn't exists, Apache::Session will throw an exception (die) The documentation implies that is it currently possible to do so. But the perl code shows

Re: Apache::Session benchmarks

2000-12-12 Thread Jeremy Howard
Perrin Harkins wrote: Apache::Session::File - Dual-PIII-600/512MB/Linux 2.2.14SMP: Ran 4 times. First time: ~2.2s. Second time: ~5.0s. Third time: ~8.4s. Fourth time: ~12.2s. Is there any reason not to use a file tree approach (splitting first and second characters of filenames

Re: Apache::Session benchmarks

2000-12-12 Thread Perrin Harkins
On Wed, 13 Dec 2000, Jeremy Howard wrote: Perrin Harkins wrote: Apache::Session::File - Dual-PIII-600/512MB/Linux 2.2.14SMP: Ran 4 times. First time: ~2.2s. Second time: ~5.0s. Third time: ~8.4s. Fourth time: ~12.2s. Is there any reason not to use a file tree approach (splitting

Apache::Session benchmarks

2000-12-11 Thread Ed Park
FYI-- here are some Apache::Session benchmark results. As with all benchmarks, this may not be applicable to you. Basically, though, the results show that you really ought to use a database to back your session stores if you run a high-volume site. Benchmark: This benchmark measures the time

Apache::Session Question

2000-11-30 Thread c.w.huling
I have read all the documentation I can find, but have not found a clear answer about Apache::Session sharing information across load balanced machines? My assumption is that if I am using a database (Oracle), that the information will be available across the load balanced machines. But when I

RE: Apache::Session Question

2000-11-30 Thread Renzo Toma
Apache::Session uses a cookie to identify a user. Every request will be switched to one of the nodes in your cluster. That node will fetch the session data corresponding to that cookie and work with it. Mind you, Apache::Session is a great piece of software, but in balanced envs you may need

RE: Apache::Session Question

2000-11-30 Thread Gunther Birznieks
At 05:17 PM 11/30/00 +0100, Renzo Toma wrote: Apache::Session uses a cookie to identify a user. Every request will be This is an accurate reply to the message but... I think you want to be careful with terminoloy. Apache::Session does not use a BROWSER level cookie. I think you are using

Apache Session and Lock files

2000-11-29 Thread cbell
Hi everyone, After tying a hash variable to a session, and writing to it, I would like to undef my hash variable just to make sure that the session lock file is deleted. However, when I do this, then any changes I make to the session hash don't get saved. If I don't undef the session hash,

Re: Apache Session and Lock files

2000-11-29 Thread Perrin Harkins
. When you undef it, you destroy the session. You don't even have a hash to write to anymore. It will save what you had, but you'll have to go and open it again if you want to use it. You shouldn't need to do this anyway, since I think Apache::Session does an immediate save when you create a new

Re: Apache::Session Questions

2000-11-25 Thread Jeffrey W. Baker
On Thu, 23 Nov 2000 [EMAIL PROTECTED] wrote: I installed Apache::Session and am employing embed perl to do some simple session management. Apache restarts fine as of now. However, when I try using %mdat or %udat I get this error message: [57250]ERR: 24: Line 17: Error in Perl code

Apache::Session Questions

2000-11-23 Thread conark
I installed Apache::Session and am employing embed perl to do some simple session management. Apache restarts fine as of now. However, when I try using %mdat or %udat I get this error message: [57250]ERR: 24: Line 17: Error in Perl code: No space left on device at /usr/local/lib/perl5/site_perl

how do I store/retrieve a hash through Apache::Session?

2000-11-03 Thread Enrique I . Rodriguez
Maybe a silly question... how do I store/retrieve a hash through Apache::Session? This doesn't work... # retrieve %table=$session{table}; ... # store $session{table}=%table; What's my fault?

Re: how do I store/retrieve a hash through Apache::Session?

2000-11-03 Thread Chris Winters
* Enrique I.Rodriguez ([EMAIL PROTECTED]) [001103 12:41]: Maybe a silly question... how do I store/retrieve a hash through Apache::Session? This doesn't work... # retrieve %table=$session{table}; ... # store $session{table}=%table; What's my fault? You can only store/read

Re: how do I store/retrieve a hash through Apache::Session?

2000-11-03 Thread Tim Bishop
On Fri, 3 Nov 2000, Enrique I.Rodriguez wrote: Maybe a silly question... how do I store/retrieve a hash through Apache::Session? store hash references, not hashes. This doesn't work... # retrieve %table=$session{table}; $tableref = $session{table}; ... # store $session{table

<    1   2   3   4   5   >