Re: Can't call method "DeleteSession" on an undefined value

2008-05-02 Thread Jeremy Malcolm
On 02/05/2008, at 9:48 PM, Pete Moran wrote: Try $epreq->DeleteSession(1); $_[0], $_[0] will only contain the epreq object if you havent shifted off the array on the initial page. $epreq is the global variable holding the internal embperl object. Thanks for the quick reply. That seemed

Re: Can't call method "DeleteSession" on an undefined value

2008-05-02 Thread Pete Moran
Try $epreq->DeleteSession(1); $_[0], $_[0] will only contain the epreq object if you havent shifted off the array on the initial page. $epreq is the global variable holding the internal embperl object. Pete On 2 May 2008, at 14:41, Jeremy Malcolm wrote: Embperl's test document for DeleteS

Can't call method "DeleteSession" on an undefined value

2008-05-02 Thread Jeremy Malcolm
Embperl's test document for DeleteSession, to delete the cookie and session data after it is finished with, uses this syntax: $_[0] -> DeleteSession (1) ; However when I use that in my Embperl::Object page using I get this message: [9391]ERR: 24: Error in Perl code: Can't call method "Dele

Re: Session handling doesn't work for me

2008-05-02 Thread Jeremy Malcolm
On 01/05/2008, at 5:36 PM, Jeremy Malcolm wrote: Nothing ever gets written to /var/www/press/orders. I read in the Embperl::Config man page that if I put EMBPERL_DEBUG 209715 in my environment then I will get debugging of session transactions, but I don't get anything that I recognise as h