Re: Apache::Session

2002-03-26 Thread Jeffrey W. Baker
On Mon, 2002-03-25 at 15:44, Stathy G. Touloumis wrote: Has anyone ran into issues with data being written to the data source using Apache::Session::Store::DB_File and Apache::Session::Lock::File? We are running into a unique instance where a value is not being saved to the session store at

Re: 0 being appended to non mod_perl scripts.

2002-03-22 Thread Jeffrey W. Baker
On Thu, 2002-03-21 at 08:37, Mike Wille wrote: Hello all, I apologize if this has already been answered elsewhere, I haven't been able to find it. I am encountering a wierd problem where perl scripts running under a normal cgi-bin (ie no mod_perl) have a '0' appended to the output. This

Re: [ANNOUNCE] mod_perl logo

2002-03-04 Thread Jeffrey W. Baker
On Mon, 2002-03-04 at 08:26, Jonathan M Hollin wrote: Friends, The time has now come to cast your vote(s) for the new mod_perl logo (to accompany the new mod_perl website which is now almost complete) You can select your preferred logo at http://wwwtohubohunet/cgi/mpchallenge; You can

Re: Apache::Session

2002-02-24 Thread Jeffrey W. Baker
On Sun, 2002-02-24 at 02:43, Christoph Lange wrote: Hi Milo, thanks for your answer. I hope you will excuse, but I am not sure whether I got you right. The session hash is serialized/deserialized in its entirety using the Storable module. Does this mean, that - after tying the session

Re: Streaming compression of output from mod_perl handler?

2002-02-19 Thread Jeffrey W. Baker
On Tue, 2002-02-19 at 06:11, Igor Sysoev wrote: On Tue, 19 Feb 2002, [iso-8859-1] Nicholas Oxhøj wrote: if mod_deflate will receive flush request it will flush deflate encoding and will write compressed content to Apache buffer. But it does not flush Apache. Anyway the max block

Re: Cookie as session store

2002-02-14 Thread Jeffrey W. Baker
On Thu, 2002-02-14 at 06:17, Jay Lawrence wrote: Jeffrey - interesting point! What did you have in mind to encrypt the cookie data? Perhaps you could use Storable to serialize data structure then convert, crypt to scramble and then MIME64 to text encode? I am not encrypting the session

mod_perl, mod_gzip, incredible suckage

2002-02-14 Thread Jeffrey W. Baker
Does mod_gzip suck or what? Some of you claim to use it. Now is the time to confess. How do you get it to work? I installed it on a Slackware machine using the source code and apxs. It loads but segfaults on every request. I installed it on a Debian machine via apt-get and it segfaults at

Re: mod_perl, mod_gzip, incredible suckage

2002-02-14 Thread Jeffrey W. Baker
On Thu, 2002-02-14 at 14:32, Jay Thorne wrote: On February 14, 2002 01:57 pm, Stephen Clouse wrote: On Thu, Feb 14, 2002 at 11:59:02AM -0800, Jeffrey W. Baker wrote: Does mod_gzip suck or what? Some of you claim to use it. Now is the time to confess. How do you get it to work

Re: mod_perl, mod_gzip, incredible suckage

2002-02-14 Thread Jeffrey W. Baker
On Thu, 2002-02-14 at 15:07, Stephen Clouse wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Feb 14, 2002 at 02:44:53PM -0800, Jeffrey W. Baker wrote: Hrmm how interesting. My Apache is built with PHP (with DOM, MySQL, and Postgres) and mod_perl. With mod_gzip enabled

Cookie as session store

2002-02-13 Thread Jeffrey W. Baker
I have sometimes proposed or recommended schemes of storing session information in an HTTP cookie, encoded and protected by cryptographic digest. I know some people on this list have implemented similar schemes, but I have never actually had occasion to do so. Now I am doing that, and I realize

Re: Apache::Session getting DESTROYed in wrong order

2002-01-03 Thread Jeffrey W. Baker
On Mon, 31 Dec 2001, Ken Williams wrote: Hey, I'm having problems with Apache::Session, the symptom is that none of my data is getting written to the database. It's not the nested-data problem, since I'm not using any nested data structures. After some investigation, I've discovered

Re: Cache::* and MD5 collisions [was: [OT] Data store options]

2001-11-08 Thread Jeffrey W. Baker
On Thu, 2001-11-08 at 10:11, Barrie Slaymaker wrote: On Thu, Nov 08, 2001 at 08:59:55AM -0800, Bill Moseley wrote: Hi, verbose I'm looking for a little discussion on selecting a data storage method, and I'm posting here because Cache::Cache often is discussed here (along with

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

2001-10-12 Thread Jeffrey W. Baker
On Fri, 12 Oct 2001, Gerald Richter wrote: If you have other things on your mind, that's fine. That's why I suggested you should consider letting someone else maintain it. I know I'm not the only person frustrated by the current state of affairs. My solution to this problem is,

Apache::Session 1.54 released

2001-10-11 Thread Jeffrey W. Baker
Apache::Session 1.54, also know as the you impatient bastards release, has been uploaded to CPAN. Changes in this release include: Fix ID validation in Flex Move from MD5 to Digest::MD5 Include new generators ModUniqueId and ModUsertrack -jwb

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

2001-10-11 Thread Jeffrey W. Baker
On Thu, 11 Oct 2001, Dave Rolsky wrote: On Thu, 11 Oct 2001, Jeffrey W. Baker wrote: Well, you guys are touchy lot! My releases are no less frequent than releases of DBI or even mod_perl. So just chill out, I sometimes have other things on my mind. I don't know about touchy so much

Using DOM to build your output documents

2001-10-03 Thread Jeffrey W. Baker
I believe that the canonical way to output a document using any web scripting language (Perl CGI, mod_perl, PHP, ASP, etc.) is to simply print out your markup, like this fictional example: while (my $row = $sth-fetchrow_arrayred()) { print trtd$row-[0]/tdtd$row-[1]/td/tr\n; } There are

Re: Mod_perl woes

2001-09-18 Thread Jeffrey W. Baker
On Tue, 18 Sep 2001, brooks roy wrote: Hello, I have just installed mod_perl into my Apache 1.3.20 install :).. I have apache+mod_ssl+mod_frontpage+php. When ever I apachectl start it start up fine but when I try to load a webpage, it says it cannot access the specified URL, here is a

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: What counts as a real DBMS?

2001-08-01 Thread Jeffrey W. Baker
On Wed, 1 Aug 2001, Philip Mak wrote: On Wed, 1 Aug 2001, Henrik Edlund wrote: And while we are discussing not cutting corners, those who still use MySQL should switch to a real DBMS before they even think of abstracting the SQL away from their Perl code. That people still use

Re: Not embedding SQL in perl (was RE: [OT] Inspired by closingcomments from the UBB thread.)

2001-08-01 Thread Jeffrey W. Baker
On Thu, 2 Aug 2001, Gunther Birznieks wrote: When you've had your fill of wrestling over mySQL vs PostGres and stored procs versus inline SQL (I know I have long ago) You guys should definitely read the following: http://www.ambysoft.com/persistenceLayer.html One of my current

Re: Apache=SCALAR(?????)

2001-07-27 Thread Jeffrey W. Baker
On Fri, 27 Jul 2001, Greg Lontok wrote: hello, I recently changed a username/password check script to mod_perl, however when under mod_perl, I noticed that failed logins with the correct username and password combination show the password in the log as Apache=SCALAR(???), i.e.

Re: BOF?

2001-07-19 Thread Jeffrey W. Baker
On Thu, 19 Jul 2001, brian moseley wrote: On Tue, 17 Jul 2001, Ask Bjoern Hansen wrote: Sunday evening where? sounds like the hotel bar is the only real option. i'll be there 8.30-9pm i guess. my flight arrives at 10:15 so i'll drop by the bar at 11:30 or so. -jwb

Help, no room at the inn!

2001-07-15 Thread Jeffrey W. Baker
Howdy, Because I am an Authentic 99.44 Percent Pure Jackass(tm) I haven't booked a room at the O'Reilly convention fast approaching. I called the hotel today and all they were able to offer me were some overpriced suites that I don't want. I would be very grateful if one of you good fellows

Re: BOF?

2001-07-15 Thread Jeffrey W. Baker
On Sat, 14 Jul 2001, brian moseley wrote: On Sat, 14 Jul 2001, Ken Williams wrote: I just noticed that there's no mod_perl BOF listed at http://conferences.oreillynet.com/cs/os2001/pub/10/bofs.html . Is one scheduled? If not, let's get one together. speaking of which. there should

Re: @INC?

2001-07-02 Thread Jeffrey W. Baker
On Mon, 2 Jul 2001, Gareth Hughes wrote: Hi All I've successfully configured Apache on Win2k. One of the sites I host uses a lot of perl so mod_perl was an obvious addition. I know nothing about perl but I'm pretty sure mod_perl is installed and running correctly except for being able to

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-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 do i install ActivePerl to?

2001-06-22 Thread Jeffrey W. Baker
On Fri, 22 Jun 2001, Castellon, Francisco wrote: Hi people: I am trying to install Active Perl in order to run mod_perl in apache. I am running on Windows98SE and the latest version of apache. So is there a particular directory that i have to install Active perl to? or is anywhere just

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: Preventing duplicate signups

2001-05-17 Thread Jeffrey W. Baker
On Thu, 17 May 2001, Rob Bloodgood wrote: So, like many of you, I've got a signup system in place for bringing on new customers. My signup script is reasonably straightforward. I use CGI::Validate to make my parameters pass muster (along with a little judicious JavaScript on the signup

Re: Where exactly is the Perl interpreter?

2001-05-10 Thread Jeffrey W. Baker
On Thu, 10 May 2001, Issac Goldstand wrote: I was just wondering- where exactly is the Perl interpreter in mod_perl 1.25 (for Apache 1.3) and where will it be in mod_perl 2 (Apache 2.0)? I assume in Apache 1.3 it's in shared memory, but I want to double check... This depends strongly on

Re: Regarding modperl installation (fwd)

2001-05-04 Thread Jeffrey W. Baker
On Sat, 5 May 2001, Stas Bekman wrote: Gosh, sometimes I feel like I've forked the mod_perl mailing list :( You get the most astonishing emails from these consultant types. Infosys is a world leader in providing IT consulting and software services[.] [1] From the world consulting leader

Re: Exception modules

2001-04-30 Thread Jeffrey W. Baker
On Mon, 30 Apr 2001, Matt Sergeant wrote: [1] for my Perl exception package (yes, another one :) which, in its development version, now mostly does the Right Thing for mod_perl. See http://sourceforge.net/projects/perlexception/ for the curious. Since I'm doing the mod_perl exception

Re: Exception modules

2001-04-30 Thread Jeffrey W. Baker
On Mon, 30 Apr 2001, Matt Sergeant wrote: On Mon, 30 Apr 2001, Jeffrey W. Baker wrote: On Mon, 30 Apr 2001, Matt Sergeant wrote: [1] for my Perl exception package (yes, another one :) which, in its development version, now mostly does the Right Thing for mod_perl. See

Re: Exception modules

2001-04-30 Thread Jeffrey W. Baker
On Mon, 30 Apr 2001, Matt Sergeant wrote: On Mon, 30 Apr 2001, Jeffrey W. Baker wrote: Yes precisely. It used to be that you could only die() with a string, but 5.mumble gave us die() with a reference to an object and at that moment the system was complete. The creation of a rational

Re: an unusual [job request] + taking mod_perl to the commercialworld

2001-04-27 Thread Jeffrey W. Baker
On Sat, 28 Apr 2001, Gunther Birznieks wrote: Well, you know how I feel. :) But the others don't so... I believe the most crucial and missing approach is to put resources into making ready-made applications that work on mod_perl rather than core mod_perl itself. This is also a problem on

Re: Loading Index.pl as the Root File

2001-04-23 Thread Jeffrey W. Baker
On Mon, 23 Apr 2001, Al Morgan wrote: I've been studying Slash to better understand mod_perl. I think I understand everything that happens in the config file, except for this: That is probably the single worst way to learn about mod_perl. Slash is the only program that makes me physically

Re: Cutting down on the DEBUG bloat...

2001-04-10 Thread Jeffrey W. Baker
On Tue, 10 Apr 2001, Paul Lindner wrote: Now, my question is: Is there some trick I could use to retain the simple syntax: debug "foo bar"; I always liked using a preprocessor to turn debug code on or off. ePerl is OK, and Perl can of course be its own preprocessor. -jwb

Re: returning HTTP error code

2001-04-05 Thread Jeffrey W. Baker
On Thu, 5 Apr 2001, Helios de Creisquer wrote: Hi ! I've got a mod_perl script calling an external program which use much memory. And I would like to send a 503 instead of calling this external program when there is less than xxxMB of memory free. Is mod_perl provides this ability to

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: how to prevent ie ( et al ) from resubmitting POST info

2001-03-29 Thread Jeffrey W. Baker
On Thu, 29 Mar 2001 [EMAIL PROTECTED] wrote: Anyone have any tricks up their sleeve to prevent the following: IE, on opening a new browser windows, or on revisiting through history a page which submitted some post data, will re-post that data, which causes me problems, as POST triggers my

[JOB] Perl expert for hire

2001-02-26 Thread Jeffrey W. Baker
I am available for contract or permanent work beginning immediately. I am an expert in Perl programming, have a long history of experience with mod_perl, and can write Perl extensions in C. I am also a productive C programmer and a passable Java programmer. Recently I have begun dabbling in

Re: [JOB] Perl expert for hire

2001-02-26 Thread Jeffrey W. Baker
On Mon, 26 Feb 2001, Jeffrey W. Baker wrote: I am available for contract or permanent work beginning immediately. I am an expert in Perl programming, have a long history of experience with mod_perl, and can write Perl extensions in C. I am also a productive C programmer and a passable Java

Re: [RESEND] seg fault with Apache::URI ... weird

2001-02-09 Thread Jeffrey W. Baker
On Fri, 9 Feb 2001, Nick Tonkin wrote: Hi Jeff, Thanks for your feedback. I wonder if you noticed that this code was from the Auth/Access stuff you did for me a while back ... so I'll patch mine but you might want to take a look at the places you are using it ... Actually, I didn't.

Redirection Location MUST be absolute (was Re: Send a cookie, ANDa redirect ?)

2001-02-08 Thread Jeffrey W. Baker
On Thu, 8 Feb 2001, Robert Landrum wrote: The problem is that Apache does not put the "Set-Cookie" before the "Location" when generating headers. To fix this, you need to build the header yourself. I've found that this works with Netscape and IE, but with IE, the place where you redirect

Re: Redirection Location MUST be absolute (was Re: Send a cookie,AND a redirect ?)

2001-02-08 Thread Jeffrey W. Baker
On Thu, 8 Feb 2001, Robert Landrum wrote: If all browsers followed the W3 standards the world would be a better place... They say "...field value consists of a single absolute URL." ^^^ I think they mean URI because the example says

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 not

Re: [OT] Availability of Jobs -- was Re: [SOLICITATION] Programmer available for contracting..

2001-01-10 Thread Jeffrey W. Baker
On Thu, 11 Jan 2001, Stas Bekman wrote: On Wed, 10 Jan 2001, mehryar wrote: Im not sure about the contract positions but this is traditionally the time of the year when people decide its time for a change, its endemic to all other types of industries not just the software industry.

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

Re: mod_perl advocacy project resurrection

2000-12-06 Thread Jeffrey W. Baker
On Wed, 6 Dec 2000, Matt Sergeant wrote: On Tue, 5 Dec 2000, Jeffrey W. Baker wrote: With J2EE you get the complete illusion that you are doing txns across as many data sources on as many systems and vendors as you want, but behind the illusion there is the nonzero risk that the data

RE: mod_perl advocacy project resurrection

2000-12-05 Thread Jeffrey W. Baker
On Tue, 5 Dec 2000, Perrin Harkins wrote: Brian, you've been taking a beating on this thread. I don't want to add to it, but you did raise a couple of interesting questions in this post. the availability of application server products in the java world is another example. go look at

Re: mod_perl advocacy project resurrection

2000-12-05 Thread Jeffrey W. Baker
On Tue, 5 Dec 2000, brian moseley wrote: On Tue, 5 Dec 2000, Perrin Harkins wrote: Transaction support for your business logic is easy in J2EE. It's not clear how you do this in Perl? Use an RDBMS. what about transactions that span data sources? yes, this does happen. Yeah, it

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: No

RE: Apache::Session - kludgy workaround?

2000-10-04 Thread Jeffrey W. Baker
On Wed, 4 Oct 2000, Jerrad Pierce wrote: Reading the directions ;-) Apache::Session doesn't do any deep checking, if a top level doesn't value doesn't change it may not detect the change. This is why your workaround works... The offically recommend workaround (I believe) is to keep a

Announce: Apache::Session 1.53

2000-09-01 Thread Jeffrey W. Baker
Apache::Session 1.53 has been released. Fixed in this release: * Three bugs in the file handling code found by Erik Rantapaa and Bart Shaefer. * A possible security vulnerability involving bogus session IDs like '../../../../../etc/passwd'. Don't worry, I wasn't able to actually think of an

Re: [OT] [JOB] mod_perl coders welcome at Quios

2000-08-10 Thread Jeffrey W. Baker
On Thu, 10 Aug 2000, Tom Mornini wrote: I've recently been promoted to Manager, Engineering at Quios. Quios has an mod_perl/Oracle web site that servers over 1 million page/views per day, and is growing fast. Quios is an international wireless messaging company. Our site is www.quios.com.

RE: was Re: template kit..... - now session handling

2000-08-02 Thread Jeffrey W. Baker
On Mon, 31 Jul 2000, brian moseley wrote: On Mon, 31 Jul 2000, Perrin Harkins wrote: Since it isn't really tied to HTTP or sessions, that would be kind of a misnomer as well. Jeff already suggested Persistent::Hash at once point, but changing namespace on CPAN always confuses some

Re: Templating system

2000-07-27 Thread Jeffrey W. Baker
On Thu, 27 Jul 2000, Matt Sergeant wrote: On Thu, 27 Jul 2000, Darko Krizic wrote: I want to write a new application using mod_perl but this time I want to completely divide the code from the HTML. Therefore I am seeking for a powerfull and fast templating system. Newly I did

[ANNOUNCE] Apache::Session 1.52

2000-07-24 Thread Jeffrey W. Baker
Apache::Session 1.52 has been uploaded to CPAN. The main change in this version is the inclusion of modules to work with Sybase, contributed by Chris Winters, and a smattering of bugfixes. There is a memory leak if you use a persistent database handle with Apache::Session. The memory leak is

Re: Apache::Session and blessed references

2000-07-23 Thread Jeffrey W. Baker
On Wed, 31 May 2000, Dylan Weed wrote: I can't seem to get Apache::Session to save the blessedness of an object. Is this an oversight on my part, a limitation of the module, a limitation of the database, or an intentional design decision? Conceptually, it seems as though an objects

Re: ORA conference

2000-07-15 Thread Jeffrey W. Baker
On 15 Jul 2000, Randal L. Schwartz wrote: "Ask" == Ask Bjoern Hansen [EMAIL PROTECTED] writes: Ask I'll bring my camera - Ask http://www.nikonusa.com/products/detaild1.cfm?id=286 - and will post Ask pictures if I don't get too bored carrying it around. (it's heavy). Pshaw! My coolpix

Re: Apache::session and Apache::DBI::Oracle headaches

2000-07-11 Thread Jeffrey W. Baker
On Tue, 11 Jul 2000, Chad Billigmeier wrote: Having a bit of trouble getting apache::session to run with apache::DBI. Is this due to the fact that Oracle wants AutoCommit on and Apache::DBI has it off or is there some other magic that I am missing out on? Is anyone using Apache::Session with

Hope you didn't miss me too much

2000-07-08 Thread Jeffrey W. Baker
I got a three week vacation from technology as a wedding gift from myself. I'm back now, and I'll get around to answering many of the Apache::Session questions I recieved in the coming days. Cheers, Jeffrey

Re: Apache::Session 1.52 problems

2000-06-09 Thread Jeffrey W. Baker
On Fri, 9 Jun 2000, Miah Gregory wrote: Hi all, I'm just writing to ask if anyone else has had problems with this version of the module? Thanks in advance. There is no such version as 1.52. You may be having problems with 1.51. There is a known problem with storing items in a

Re: Apache::Session and blessed references

2000-06-01 Thread Jeffrey W. Baker
On Wed, 31 May 2000, Dylan Weed wrote: I can't seem to get Apache::Session to save the blessedness of an object. Is this an oversight on my part, a limitation of the module, a limitation of the database, or an intentional design decision? Conceptually, it seems as though an objects

Re: Modifying of Apache::Session File

2000-05-31 Thread Jeffrey W. Baker
On Wed, 31 May 2000, Differentiated Software Solutions Pvt. Ltd. wrote: Hi, We've got an application where on initial login we're creating the session file. Subsequently, we want to add more hash values into this session file. Immediately after creation if we add values to the session

RE: Wierd problem with redirect

2000-05-31 Thread Jeffrey W. Baker
On Tue, 30 May 2000, Jerrad Pierce wrote: I'm running into an odd redirect ptoblem myself, I'm issuing: HTTP/1.1 302 Moved Temporarily\n\r Date: Tue 30 May 2000 18:18:07 GMT\n\r Server: Apache/1.311\n\r Set-Cookie: SESSION_ID=4177a0c9ae2b278decd6038901b28a2a; path=/; expires=Thu,

RE: [ANNOUNCE] Apache::Session 1.51

2000-05-31 Thread Jeffrey W. Baker
On Wed, 31 May 2000, James Xie wrote: Which version of Storable module do I need for Session 1.51? Storable-0.6.11 ? it's still under beta testing. Any version should work. -jwb

RE: [ANNOUNCE] Apache::Session 1.51

2000-05-31 Thread Jeffrey W. Baker
On Wed, 31 May 2000, James Xie wrote: Thanks. I have the storable module installed but I got the following error messages when I try to run "make test". Do I need to create the sessions database manually? I don't see it when I run the "mysqlshow" command. I have mySQL installed.

Re: patch for Apache::Session::Store::Postgres

2000-05-29 Thread Jeffrey W. Baker
On Mon, 29 May 2000, Michael Blakeley wrote: Patch for Apache::Session::Store::Postgres, from Apache-Session-1.51.tar.gz, to resolve problems with prepare_cached(SELECT a_session FROM sessions WHERE id = ? FOR UPDATE) statement handle DBI::st=HASH(0x369a2c) is still active after a

Re: Modified DBIStore.pm for Oracle

2000-05-28 Thread Jeffrey W. Baker
On Fri, 26 May 2000, Chetan Patil wrote: Hello, I have modified DBIStore.pm (in Apache-Session-1.03) to work with Oracle. I am attaching the diff at the end of this email for anyone who is interested. Thanks for the effort! I just found out that there is new version of Apache-Session

Re: Apache::Session::Pg blob support?

2000-05-27 Thread Jeffrey W. Baker
On Sat, 27 May 2000, Gunther Birznieks wrote: At 03:08 PM 5/26/00 -0400, Richard Dice wrote: Hello there... I was wondering, with the new Pg-specific support you've got going with Apache::Session, does it handle Pg blobs transparently? The regular limit on the size of a tuple in Pg is

[ANNOUNCE] Apache::Session 1.50 has been released

2000-05-26 Thread Jeffrey W. Baker
Greetings, I am pleased to announce that Apache::Session version 1.50 has been released. This is a major update from the previous version. Notable updates include: *Support for Postgres as a backing store *Support for Berkeley DB as a backing store *Support for serialization into ASCII

Re: Apache::Session::Pg blob support?

2000-05-26 Thread Jeffrey W. Baker
On Fri, 26 May 2000, Richard Dice wrote: Hello there... I was wondering, with the new Pg-specific support you've got going with Apache::Session, does it handle Pg blobs transparently? The regular limit on the size of a tuple in Pg is 8k, which can be a problem if I'm trying to put more

Re: [ANNOUNCE] Apache::Session 1.51

2000-05-26 Thread Jeffrey W. Baker
On Fri, 26 May 2000, Perrin Harkins wrote: On Fri, 26 May 2000, Jeffrey W. Baker wrote: I have released Apache::Session 1.51. The addition of the Oracle backing store took less time than expected. It is included and tested in this release. This is the only change from 1.50. http

Re: Bugs 5.6.0 modperl use?

2000-05-25 Thread Jeffrey W. Baker
On Wed, 24 May 2000, John M Vinopal wrote: Apache 1.3.12 modperl 1.24 perl 5.6.0 CGI::Carp preloaded. DBI preloaded. [Wed May 24 19:58:28 2000] [error] PerlRun: `Bizarre copy of HASH in aassign at /usr5/perl/lib/5.6.0/Carp/Heavy.pm line 79. Prototype mismatch: sub

Re: Form generation libraries

2000-05-25 Thread Jeffrey W. Baker
On Thu, 25 May 2000, Peter Haworth wrote: On 24-May-00 at 18:50, Jeffrey W. Baker ([EMAIL PROTECTED]) wrote: It's C with function pointers as struct members. That seems a little excessive to me spacewise, but I guess it means you can keep the functions static, and not confuse users

Re: Form generation libraries

2000-05-24 Thread Jeffrey W. Baker
On Wed, 24 May 2000, Peter Haworth wrote: Jeffrey W. Baker wrote: I have read all of the messages in regarding the zygotic HTML::Forms/FormGen project, and I like the idea. However, I hope that the inplementation of such a beast isn't in Perl. To ensure that a quality product results

Re: Form generation libraries

2000-05-24 Thread Jeffrey W. Baker
On Wed, 24 May 2000, Peter Haworth wrote: Jeffrey W. Baker wrote: On Wed, 24 May 2000, Peter Haworth wrote: Jeffrey W. Baker wrote: myInput = hfTextInputNew(); myInput-addAttr(myInput, "name", "first_name"); myInput-addAttr(myInput, "value"

Re: [Re: Questions about Apache::Session]

2000-05-23 Thread Jeffrey W. Baker
On Tue, 23 May 2000, Michael Schout wrote: On Sun, Jun 29, 2036 at 12:21:26AM +, Edgardo Szulsztein wrote: Hi again It worked great. Thanks for the help! Now, I would like to make it work with the postgresql database server. How could I do it (I don't like the list, but I

Re: [newbie] Passing Session Object Twixt Handlers

2000-05-23 Thread Jeffrey W. Baker
On Mon, 22 May 2000, Perrin Harkins wrote: On Mon, 22 May 2000 [EMAIL PROTECTED] wrote: It seems the Apache::Session::DBI isn't actually changing anything in the database, since next time I tie the session the only thing it has is the _session_id I tied it with in the first place. Keep

Re: Cookies

2000-05-23 Thread Jeffrey W. Baker
On Tue, 23 May 2000, Jim Serio wrote: Like I said, the cookie is being set, but I can't read the cookie. Apache::Cookie-fetch('cookie_name'); doesn't work. this is a fixup handler? you shouldn't be sending the complete http header there. you should use $r-headers_out like you did in your

Re: RFC: Apache::Request::Forms (or something similar)

2000-05-18 Thread Jeffrey W. Baker
On Thu, 18 May 2000, brian moseley wrote: On Thu, 18 May 2000, Autarch wrote: C seems like serious overkill for something to simply generate plain text output. How slow is making a string in perl compared to doing it in C? I can't imagine there's to much of a difference. pretty

O'Reilly Con 2000 Rooms and Travel

2000-05-16 Thread Jeffrey W. Baker
I just registered for this year's O'Reilly Open Source Conference. I reserved a double occupancy room, even though I haven't planned to go with anyone else. If someone on this list is going and doesn't have a room, please email me and we can share. I reserved a non-smoking room in the

Re: database efficiency

2000-05-15 Thread Jeffrey W. Baker
On Mon, 15 May 2000, Jay Jacobs wrote: I've been reading over the guide on "Efficient Work with Databases under mod_perl" and there's one thing I don't quite grok about it. Let's say I have a site that goes through select statements like water. If I were to cache the statement handler (as

Re: database efficiency

2000-05-15 Thread Jeffrey W. Baker
On Mon, 15 May 2000, Ken Y. Clark wrote: On Mon, 15 May 2000, Jeffrey W. Baker wrote: On Mon, 15 May 2000, Jay Jacobs wrote: I've been reading over the guide on "Efficient Work with Databases under mod_perl" and there's one thing I don't quite grok about it. Let's say

Re: database efficiency

2000-05-15 Thread Jeffrey W. Baker
On Mon, 15 May 2000, Autarch wrote: On Mon, 15 May 2000, Jay Jacobs wrote: mod_perl" and there's one thing I don't quite grok about it. Let's say I have a site that goes through select statements like water. If I were to cache the statement handler (as described in the guide), how

Re: talking about cookies (was: session something...)

2000-05-11 Thread Jeffrey W. Baker
On Thu, 11 May 2000, Marc Slemko wrote: In reality, IE's recently publicized hole (which I reported to them, in a slightly modified form, months ago but they didn't see fit to release a patch...) doesn't change much. Hotmail? Yahoo mail? amazon.com? etc. Your cookies for all those

Re: speed up/load balancing of session-based sites

2000-05-09 Thread Jeffrey W. Baker
On Tue, 9 May 2000, Gunther Birznieks wrote: As far as I knew Apache::Session has never even had anything to do with cookies. It is a persistent storage mechanism where the session "handle" is a uniquely generated ID. What you are interested in is a Session "manager" which understands how

Re: speed up/load balancing of session-based sites

2000-05-09 Thread Jeffrey W. Baker
I'm more concerned about dealing with large numbers of simultaneous clients (say 20,000 who all hit at 10 AM) and I've run into problems with both dbm and mysql where at a certain point of write activity you basically can't keep up. These problems may be solvable but timings just below the

Re: 100% sessions?

2000-05-09 Thread Jeffrey W. Baker
On Tue, 9 May 2000, Tobias Hoellrich wrote: Tom, At 02:02 PM 5/9/00 -0700, Tom Mornini wrote: That is the tricky part. :-) Here's the sneaky way to handle it: Put the Session ID at the beginning of the URI. If a request comes in with a Session ID, then strip it out of $r-urii. If a

Re: 100% sessions?

2000-05-09 Thread Jeffrey W. Baker
On Tue, 9 May 2000, Tom Mornini wrote: That is the tricky part. :-) Here's the sneaky way to handle it: Put the Session ID at the beginning of the URI. If a request comes in with a Session ID, then strip it out of $r-urii. If a request comes in without one, redirect them to the same URI

Re: 100% sessions?

2000-05-09 Thread Jeffrey W. Baker
On Wed, 10 May 2000, harm wrote: On Tue, May 09, 2000 at 03:36:38PM -0700, Jeffrey W. Baker wrote: The cool thing about this is that relative links need not be rewritten at all, the browser handles it! snip I like to use session ids at the beginning of the URL for another

Re: Running file based sessions via NFS

2000-05-09 Thread Jeffrey W. Baker
On Tue, 9 May 2000, John Armstrong wrote: Lots of folks are saying the running File based sessions over NFS is problematic. We are doing it without any noticeable issues so far but I am _very_ curious as to what we need to watch out for. I'd like to meet the evil before I have to do

Re: speed up/load balancing of session-based sites

2000-05-08 Thread Jeffrey W. Baker
On Mon, 8 May 2000, Leslie Mikesell wrote: According to Jeffrey W. Baker: I keep meaning to write this up as an Apache:: module, but it's pretty trivial to cons up an application-specific version. The only thing this doesn't provide is a way to deal with large data structures

Re: speed up/load balancing of session-based sites

2000-05-07 Thread Jeffrey W. Baker
On 7 May 2000, Greg Stark wrote: Further, what are the standard ways to load balance a session-tracking app across multiple servers when the sessions are stored in memory and a given user has to be consistently sent back to the same machine? Can round-robin DNS be counted on

Re: Why does $r-print() dereference its arguments?

2000-05-04 Thread Jeffrey W. Baker
On Wed, 3 May 2000, Doug MacEachern wrote: On Wed, 3 May 2000, Jeffrey W. Baker wrote: Apache::print() dereferences its arguments. For example, this code: my $foo = "bar"; $r-print(\$foo); prints "bar" instead of the expected SCALAR(0xDEADBEEF).

Why does $r-print() dereference its arguments?

2000-05-03 Thread Jeffrey W. Baker
Apache::print() dereferences its arguments. For example, this code: my $foo = "bar"; $r-print(\$foo); prints "bar" instead of the expected SCALAR(0xDEADBEEF). Can anyone explain the purpose of this behavior, or is it a misfeature? In my case, this is not the desired behavior. -jwb

Re: Why does $r-print() dereference its arguments?

2000-05-03 Thread Jeffrey W. Baker
On 3 May 2000, Chip Turner wrote: "Jeffrey W. Baker" [EMAIL PROTECTED] writes: Apache::print() dereferences its arguments. For example, this code: my $foo = "bar"; $r-print(\$foo); prints "bar" instead of the expected SCALAR(0xDEADBEEF). Ca

  1   2   >