Try the pnotes method:
$r->pnotes(MyHash => $your_session_hash);
then later in other handlers...
my $sess_hash = $r->pnotes('MyHash');
On Mon, 2003-09-29 at 17:53, Matisse Enzer wrote:
> Is there an appropriate way in mod_perl 2 for me to take a hashref
> and somehow add it to the Apache request
It's just like any other perl object..If you keep a reference to your
object in global or package namespace,it's destroy will never be called
since modules under mod_perl are not unloaded unlink cgi.
If your object is lexically scoped,it'll be cleaned upon scope exit.
On Tue, 2003-09-30 at 23:13,
Good Question. Does $r get freed after every request?
In any case, best is to install a PerlCleanupHandler and set untie
%$session in it.
On Wed, 2003-10-01 at 16:23, Matisse Enzer wrote:
> In answer to another question Perrin Harkins <[EMAIL PROTECTED]> wrote:
>
> > I suggest you go over the co
Hi
Has Apache::Request been Ported to mod perl 2 yet? What is
the
recommended way to read Request Parameters under mod perl
2?
thx
- Praveen
__
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com
Me neither! Someone, please do something.
--- angie ahl <[EMAIL PROTECTED]> wrote:
> Not sure who to report to so posting here sorry.
>
> I can't connect to http://perl.apache.org can get through
> to the main
> apache site fine though.
>
> Angie
>
- Praveen
_
Depends on your team size and your development process.
subversion is pretty good. However, it doesn't do merging
of branches as neatly as I'd like it to. But if you dont
branch too often, it's excellent.
--- David Hofmann <[EMAIL PROTECTED]> wrote:
> My company looking at setting up some kind
Shouldn't you be using the database itself to store the
state? Will Apache::Singleton instance replicate itself if
you were to run your application on multiple servers behind
load balancers (for scalability and fail-over purposes)?
If yes, you probably should usw Storage Module to save your
SQL obj
Hi
Does anyone have any experience of using clearsilver
(http://www.clearsilver.net) with mod_perl (1 or 2)?
Any comparisons of this with Template-Toolkit? The
Template-Toolkit is getting rather slow for our needs and
I'm looking around for alternatives.
thanks
- Praveen
_
> > The
> > Template-Toolkit is getting rather slow for our needs
> and
> > I'm looking around for alternatives.
>
> That's pretty surprising. Pure template processing is
> your bottleneck?
> Are you doing some kind of data processing or data
> retrieval from
> inside of your templates?
I su
First upgrade to mod_perl2. Throw away the beta code
(1.99_16). Install Apache2 and mod_perl2 fresh. The
installation documents on mod_perl site are very
comprehensive.
Then, report back if the problem persists.
--- ravikumar <[EMAIL PROTECTED]> wrote:
> hi,
> i have installed Apache-2.0.
>
> 1500 record? don't do it: page or use AJAX.
>
> Been there. It was horrible.
>
I'd second that..1500 seems too high for human consumption.
Anyway, for such large datasets you can try going XML/XSLT
way. XSLT transforms are VERY fast (use LibXSLT) - downside
being XSL is a super verbose and
--- Perrin Harkins <[EMAIL PROTECTED]> wrote:
> On Tue, 2005-09-06 at 06:23 -0700, Thomas Hilbig wrote:
> > I am struggling with a (simple?) DBI problem under MP2
> > on Fedora Core 3. A script that uses Oracle-DBI works
> > under regular CGI but fails under MP2 with the
> > following error:
> >
Here is a very very simple script comparing three
approaches to build a large html table. I was surprised to
see TT2 being the fastest..run it yourself and see.
Note that XSLT timings include the time to build XML data
string since in real life all data comes from Relational
Database that must be
--- Michael Peters <[EMAIL PROTECTED]> wrote:
>
>
> Praveen Ray wrote:
> > Here is a very very simple script comparing three
> > approaches to build a large html table.
>
> would you mind sending this script as an attachment.
> Email clients tend
>
> Not only that but your XSLT is very badly written. If I
> find time I'll
> send you a better version.
please do. I'm no XSLT guru :(
- Praveen
__
Click here to donate to the Hurricane Katrina relief effor
Hello people
Trying to look for the *best* perl web framework out there and looking for
suggestions. I've looked at Catalyst, Jifty and bunch of other frameworks. My
biggest gripe about these web frameworks is the lack of reusable UI controls
aka ASP.Net. One reason ASP.Net has caught on so qui
>> Most geeks make lousy web designers and would rather fiddle
>> with the back end server code than CSS and javascript.
>I agree that I'm a lousy designer, but in this day Javascript (and CSS to some
>extent) are becoming more and more important. Javascript is a real programming
>language relega
The bigger issue is not of client or server side controls. What's sorely
missing is a recommended best practice pattern that mod-perl people should
follow to package and deliver chunks of functionality. I'm sure everyone here
has his/her own little framework of serving javascript, css, and html.
Thanks everyone for their inputs. I still think we can learn a few things from
.Net design - not everything Microsoft produces is junk :)
That said, has anyone on this list ever tried PerlNet
(http://aspn.activestate.com/ASPN/docs/PerlDevKit) from ActiveState? Good/Bad ?
Fine Prints?
- Prav
Hello Everyone
I've a javascript client library sending text/xml data like this:
var myRequest = new jsx3.net.Request();
myRequest.open("POST","http://myServlet";);
myRequest.send(myDocument.getXML());
where jxs3.net.Request is an abstraction built over XMLHttp(It's
Tibco GI javascript library i
Prapulla,
Please see how others ask questions on this list. You need to provide
sufficient details. Your question doesn't even make much sense. There is
nothing to 'compile' in mod-perl, unlike java and C#. What are you trying to
achieve?
- Praveen
- Original Message
From: prapul
Both should return OK under normal circumstances - unless you want to short
circuit another_test, in which case, 'a_test' should return DONE.
http://perl.apache.org/docs/2.0/user/handlers/intro.html#Handler_Return_Values
- Praveen
- Original Message
From: Martijn <[EMAIL PROTECTED
22 matches
Mail list logo