Pr server data

2003-12-13 Thread Kaare Rasmussen
I want to save some data per Apache server - NOT per user or per page. 

Is this possible with Embperl? Or will I have to study mod_perl ?

The data is a POE client object.

-- 
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize  Fax:3816 2501
Howitzvej 75   Åben 12.00-18.00Email: [EMAIL PROTECTED]
2000 FrederiksbergLørdag 12.00-16.00   Web:  www.suse.dk


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Embperl vs. Mason

2003-12-13 Thread Stefan Cars
Hi!

I'm looking for some facts on why Mason would be better than Embperl. I have
been using Embperl in alot of projects and think it works great. I don't see
any reason at all to move to Mason but it would be interesting to know how
things differs.


Kind Regards,
Stefan Cars


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Cookie and Cookieless sessions

2003-12-13 Thread Stefan Cars
 What is the status of this, Gerald ? Is that implemented yet ??

smodeUDatUrl = 4
 
  The session id for the user session will passed as a part of the URL. NOT
YET IMPLEMENTED!!
 

Kind Regards,
Stefan Cars

-Original Message-
From: Gerald Richter [mailto:[EMAIL PROTECTED] 
Sent: den 2 december 2003 16:20
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Cookie and Cookieless sessions

Hi,

>
> Basically what I want to do is to have standard cookied sessions,
> however if user doesn't support cookies then it falls back to
> cookieless sessions.
>
> Can I
> a)  Have both cookie and cookieless sessions running at the same time
> - if so how do I configure this.

In Embperl 2.0 look at EMBPERL_SESSION_MODE

> b)  Optionally pass the session_id as a param - so if there isn't a
> cookie, but there is a param then it loads the session using the param
> session id.  If so whats the correct name of the session id (as in
> ?session_id=sds232sd23dsgrfgf355565)
>

If you set session_mode correctly Embperl will do this for you automaticly

Gerald


>
> Regards
>
>
> Pete
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

--
Gerald Richter ecos electronic communication services gmbh
IT-Securitylösungen * dynamische Webapplikationen * Consulting

Post:   Tulpenstrasse 5  D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED]  Voice:   +49 6133 939-122
WWW:http://www.ecos.de/  Fax: +49 6133 939-333
--
|
|   ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
|
+-


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: DBIx::Recordset error message

2003-12-13 Thread Daniel Brooks
Terrence Brannon wrote:

Daniel Brooks wrote:

I've been using DBIx::Recordset for a while now, and it's been great. 


Yes, Recordset is great :)

However, just the other day I started adding some new functionality 
to my program, and I've started getting this error message:

[Fri Dec 12 09:06:29 2003] [error] [client 4.63.107.173] Premature 
end of script headers: purchase.pl
[Fri Dec 12 09:06:29 2003] [error] [client 4.63.107.173] [Fri Dec 12 
09:06:29 2003] purchase.pl: Error executing run mode 'add_item': 
DBD::ChurlPg


ChurlPg ah:

   http://archives.postgresql.org/pgsql-interfaces/2003-02/msg5.php


You know, now that you mention it, I thought I was using DBD::Pg. I'll 
have to check my setup, since this is test machine is a bit newer than 
my production machines.


only knows about the pg_type attribute at 
/usr/lib/perl5/site_perl/5.8.0/DBIx/Database.pm line 148.


That message is coming from DBD::ChurlPg's dbdimp.c

   // XXX this is broken: bind_param(1,1,{TYPE=>SQL_INTEGER});
   if (attribs) {
   if (sql_type)
   croak ("Cannot specify both sql_type and pg_type");
if ((svp = hv_fetch((HV*)SvRV(attribs),"pg_type", 7, 0))==NULL)
croak("DBD::ChurlPg only knows about the pg_type attribute");
I wish we had a confess so we could actually trace the execution stack 
closer.

Sure. How do I get a stack trace?

Anyone know what's going on?


A lot of what Recordset does depends on what driver you use. I don't 
know what's going on but it might have to do with not knowing anything 
about ChurlPg.


db48x

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]