Re: [OT] Inspired by closing comments from the UBB thread.

2001-08-01 Thread Jay Jacobs
I'd second the original question, I've always embedded the SQL (what's the S for?) in the code, isn't that the point of the wonderful DBD::* packages? As far as modularizing database calls, there are a couple reasons I've had problems with that. I found the methods being rewritten to handle

Re: [OT] Inspired by closing comments from the UBB thread.

2001-08-01 Thread Jay Jacobs
I wasn't clear enough... My point was more six one way, half dozen the other. For a public package, keeping dependancies down to a minimum is a bonus, as well as keeping performance up by not having to pre-process html looking for perl code. It can come down to a choice between maintainability

Re: [VERY OT] Inspired by closing comments from the UBB thread.

2001-08-01 Thread Jay Jacobs
On Wed, 1 Aug 2001, Kyle Dawkins wrote: Mixing HTML with Perl with SQL is bad and evil on every single possible level. This bugged me... TMTOWTDI applies on so many levels. The right way to do something is not always the technically best way to do something. If you work in a large corporate

Re: [VERY OT] Inspired by closing comments from the UBB thread.

2001-08-01 Thread Jay Jacobs
My apologies for beating this dead horse... I am just unable to get my point across at all today. On Wed, 1 Aug 2001, Kyle Dawkins wrote: Tom et al. This is, in my opinion, circular logic. Perhaps the reason that you barely have enough time to go to the bathroom is that you're writing

Content-Disposition to change type and action?

2001-05-29 Thread Jay Jacobs
I've got a form that will (should) send various formats back to the client depending on form values. They may want the results back in csv, pdf or plain html. The form always submits to a .html, and the browser usually expects an html. I've tried setting $r-content_type and even $r-filename

Re: Content-Disposition to change type and action?

2001-05-29 Thread Jay Jacobs
Ken's right and yeah, I wanted to stay away from Javascript and keep it simple, it's not the doing of javascript that's bad, it's the redoing. One thing that appears to work is setting the Content-Disposition header value to inline;filename=\search.csv\. (instead of attachment). IE5 seems to do

Re: Appending Sessionid to all the urls

2001-05-24 Thread Jay Jacobs
Yeah, create a safe link jumping point. Something that you'd link to instead of the external link, and pass in the external link, without a session_id so that the HTTP_REFERER won't have the session ID. Don't rely on IP address for more reasons then you mentioned... It might not hurt to

Re: Appending Sessionid to all the urls

2001-05-22 Thread Jay Jacobs
there's always more then one way... DocumentRoot /usr/local/apache_mp/htdocs RewriteEngine On RewriteCond /usr/local/apache_mp/htdocs/%{REQUEST_FILENAME} !-f RewriteRule /?S=([^/]+)/(.*) /$2 [E=SESSION_ID:$1] This sets $ENV{SESSION_ID} to the session ID, but also catches it, if by some bizarre

Re: [OT] Perl Script Source Code...

2001-01-09 Thread Jay Jacobs
On Tue, 9 Jan 2001, G.W. Haywood wrote: Hi Allysson, On Tue, 9 Jan 2001, Allysson Flavio wrote: Is there a way to put in our client's server only compiled scripts or like??? Or can we change Perl source code to decript our files?? I think you'd better read a book about C. Hi

Re: Mod_perl tutorials

2000-12-13 Thread Jay Jacobs
snip all other notes on it I've seen a few folks say "my tuturial is at http://xxx", etc. But it would be great if someone could put them all in a single place (take23?) with a blurb about each. I've been trying to keep the email with the links to the various presentations and tutorials for

Re: [me too] certification [Was: mod_perl advocacy project resurrection]

2000-12-08 Thread Jay Jacobs
available certified folks"... that would be a much better solution. See point #1 above. Jay Jacobs - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Certification

2000-12-07 Thread Jay Jacobs
follow. Perhaps areas to cover, standard tests, etc. Things that would lead a person to getting really certified when/if such a thing exists. Jay Jacobs - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

RE: mod_perl advocacy project resurrection

2000-12-05 Thread Jay Jacobs
folks can take a step in those directions too. I just think back to the time when I started putting smarts-to-web and these were the first steps I took, and I looked for that kind of hand holding as I figured out how to make it work. Jay Jacobs -

RE: Forking in mod_perl?

2000-10-04 Thread Jay Jacobs
I was just going to post that url to the guide also... But another option I've come up with not listed in the guide is to use the *nix "at" command. If I need to run some processor intensive application that doesn't need apache_anything, I'll do a system call to "at" to schedule it to run

RE: Question about $sth-finish;

2000-08-15 Thread Jay Jacobs
can't quote a source for that one. From my point of view, it never hurts to call finish()... Jay Jacobs

Apache::Session Math::Currency thawing issue.

2000-06-19 Thread Jay Jacobs
rrency-new. But this seems a little silly. Anyone seen this before? Jay Jacobs

Re: Apache::Session Math::Currency thawing issue.

2000-06-19 Thread Jay Jacobs
cy reference, and call Math::Currency-new. But this seems a little silly. Anyone seen this before? Jay Jacobs

RE: Apache::Session

2000-06-01 Thread Jay Jacobs
that is of the same name as the request, and it's completely removable This also doesn't change the $r-uri value, but I find that kind of a blessing. Jay Jacobs LachNet Inc. On Thu, 1 Jun 2000, Michael Nachbaur wrote: Well, from what I'm reading, it looks like you don't want it to create sessions for all

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

2000-05-12 Thread Jay Jacobs
discussion about storing sessions (or session_id) in a cookie and how reliable (or unreliable) that is. Jay Jacobs LachNet Inc. On Fri, 12 May 2000, Keith G. Murphy wrote: "Jeffrey W. Baker" wrote: On Thu, 11 May 2000, Marc Slemko wrote: In reality, IE's recently publicized hol

Re: [Summation] 100% sessions?

2000-05-12 Thread Jay Jacobs
ll contain the session stuff in it. Jay Jacobs LachNet Inc. On Thu, 11 May 2000, Gunther Birznieks wrote: At 01:21 PM 5/10/00 -0500, Jay Jacobs wrote: I embedded notes into this with a short book at the end... On Wed, 10 May 2000, Gunther Birznieks wrote: There is a strong reason for co

Re: [Summation] 100% sessions?

2000-05-10 Thread Jay Jacobs
issed some points, but it's all I can think of at this time. Jay Jacobs LachNet Inc.

Re: [Summation] 100% sessions?

2000-05-10 Thread Jay Jacobs
ir users. I don't see any way to gaurantee that 100% of the people will be able to use a session-based site while also allowing 0 session-jumping with high-security and privacy. And if I can increase 91% serviced to 92% serviced while assuming the end-user just figured out what "click here" means, I'll do it. Jay Jacobs LachNet Inc.

100% sessions?

2000-05-09 Thread Jay Jacobs
faced this same issue and had an ample solution... Jay Jacobs LachNet Inc.

Re: 100% sessions?

2000-05-09 Thread Jay Jacobs
On Tue, 9 May 2000, Jeffrey W. Baker wrote: Why is the session ID invalid just because they left for a week? Ask them to authenticate again and take them right back to whatever they were doing. On some sites bookmarking the URL with the session ID embedded is the optimal behavior.