Re: configuring Apache::Session to detect no-cookie browser

2000-05-10 Thread David . Lamkin
Hi, After reading an interesting thread here about session management I would like to detect if the user's browser refuses cookies and switch Apache::Session from cookie mode to URL mangling mode. Has someone already tackled this and would be so kind to share the solution? We

configuring Apache::Session to detect no-cookie browser

2000-05-10 Thread Louis-David Mitterrand
Hi, After reading an interesting thread here about session management I would like to detect if the user's browser refuses cookies and switch Apache::Session from cookie mode to URL mangling mode. Has someone already tackled this and would be so kind to share the solution? TIA -- Louis-David

Apache::Session question

2000-05-05 Thread Gundars Kulups
Hi! I am sorry to ask this bit off question, but still. Has anyone used Apache::Session on Solaris (Sparc, not intel)? We implemented system on Linux (intel) and tried to port it to Solaris, but session doesn't work - can not create session files. Store manager used is FileStore and SysV

Re: Apache::Session question

2000-05-05 Thread Francesc Guasch
Gundars Kulups wrote: Hi! I am sorry to ask this bit off question, but still. Has anyone used Apache::Session on Solaris (Sparc, not intel)? We implemented system on Linux (intel) and tried to port it to Solaris, but session doesn't work - can not create session files. Store manager used

Re: Apache::Session question

2000-05-05 Thread Neil Conway
On Fri, May 05, 2000 at 05:58:33PM +0200, Francesc Guasch wrote: [Solaris + Apache::Session] After the use Apache::Session you maybe have to type something like this. $Apache::Session::SysVSemaphoreLocker::nsems=16; In my preliminary testing, it appears this is also necessary to get

What's next for Apache::Session

2000-04-28 Thread Jeffrey W. Baker
The next version of Apache::Session is almost ready. This version is dubbed 1.50 because of it's significant-but-not-outrageous changes. The changes from 1.03 are: 1) New backing stores can stash data in Berkeley DB via the BerkeleyDB module, or any dbm format via AnyDBM_File. 2) The ID

Re: What's next for Apache::Session

2000-04-28 Thread Ajit Deshpande
On Fri, Apr 28, 2000 at 03:25:18PM -0700, Jeffrey W. Baker wrote: The next version of Apache::Session is almost ready. This version is dubbed 1.50 because of it's significant-but-not-outrageous changes. The changes from 1.03 are: ... 4) The DBI interface class has been modified

Re: What's next for Apache::Session

2000-04-28 Thread Bryan McGuire
ditto! - Original Message - From: Igor Chudov @ home [EMAIL PROTECTED] To: Jeffrey W. Baker [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, April 28, 2000 8:11 PM Subject: Re: What's next for Apache::Session reuse of already open database handles is what I was parying for. I use

Where to get Apache::Session

2000-04-18 Thread Differentiated Software Solutions Pvt. Ltd.
Hi, Can somebody please tell me from where to download Apache::Session module. Thanks a lot Murali Differentiated Software Solutions Pvt. Ltd., 176, Gr. Floor, 6th Main 2nd Block RT Nagar Bangalore - 560 032 India Ph: 91 80 3431470 email : diffs+AEA-vsnl.com http://www.diffs-india.com

FW: Apache::Session::SysV - No space left on device

2000-04-16 Thread Gerald Richter
I forward it to the modperl list, hopefully somebody there know more about Semaphores... Gerald -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Neil Conway Sent: Sunday, April 16, 2000 4:32 AM To: [EMAIL PROTECTED] Subject: Apache::Session::SysV

Apache::Session beginner

2000-04-16 Thread Tom Peer
Does anyone know any good resources for learning about Apache::Session ? Thanks, Tom

Re: Apache::Session beginner

2000-04-16 Thread Jeff Beard
Besides the pod docs there's another usage description in the guide: http://perl.apache.org/guide/modules.html#Apache_Session_Maintain_session If you're looking to use Apache::Session::DBI, then you'll need to run down the docs for you're database of choice. Cheers, Jeff At 07:43 PM 4/16

SOLVED: Segfault with Embperl, Apache::Session (piece of %@#!*)

2000-04-14 Thread Jason Bodnar
Fickle, fickle machines. The segfault problem with Embperl and Apache::Session can be fixed with about 3 keystrokes in emacs. When I was getting the segfault error I had: # BEGIN EMBPERL SESSION HANDLING PerlSetEnv EMBPERL_SESSION_CLASSES "DBIStore SysVSemaphoreLocker"

RE: SOLVED: Segfault with Embperl, Apache::Session (piece of %@#!*)

2000-04-14 Thread Gerald Richter
Gerald, if it's not on the wish list already, could you add a request for the ability to set nsems in EMBPERL_SESSION_ARGS. Or maybe I should just get off my butt and make a patch. This works already. You can give any arguments to EMBPERL_SESSION_ARGS that a Store or Locker module

RE: Segfault with Embperl, Apache::Session

2000-04-13 Thread Jason Bodnar
On 13-Apr-2000 Gerald Richter wrote: Trying to use Apache::Session with Embperl 1.2.1, mod_perl 1.21, Apache 1.3.9. I've got this running on another machine just fine with the exact same setup (I think). When I try access an Embperl page that uses %udat I get: [Thu Apr 13 14:51:05 2000

Re: Segfault with Embperl, Apache::Session

2000-04-13 Thread Jason Bodnar
. Mark Jason Bodnar wrote: Trying to use Apache::Session with Embperl 1.2.1, mod_perl 1.21, Apache 1.3.9. I've got this running on another machine just fine with the exact same setup (I think). I created a db called sessions with a table called sessions: mysql show fields from sessions

RE: Segfault with Embperl, Apache::Session

2000-04-13 Thread Gerald Richter
Trying to use Apache::Session with Embperl 1.2.1, mod_perl 1.21, Apache 1.3.9. I've got this running on another machine just fine with the exact same setup (I think). When I try access an Embperl page that uses %udat I get: [Thu Apr 13 14:51:05 2000] [notice] Apache/1.3.9 (Unix

RE: Segfault with Embperl, Apache::Session

2000-04-13 Thread Gerald Richter
If you tell me what to do I'll try to get a stack backtrace. http://perl.apache.org/embperl/Faq.pod.1.html#make_test_fails_with_a_SIG _ Gerald

RE: Segfault with Embperl, Apache::Session

2000-04-13 Thread Gerald Richter
#0 0xff1d7540 in Perl_sv_clear () from /opt/gnu/depot/perl5.004_04/lib/sun4-solaris/5.00404/CORE/libperl.so It crashs somewhere deep inside of Perl, so it's hard to say what's happeing here. I would first try to recompile all modules (maybe Perl itself also), to make sure things fit

Re: Segfault with Embperl, Apache::Session

2000-04-13 Thread Mark Imbriaco
On Thu, 13 Apr 2000, Jason Bodnar wrote: Hmmm ... maybe it's a problem with Solaris 5.7? Can you try the binaries from the 2.6 box on the 2.7 box to see if that works? That would at least kind of indicate whether it's an OS bug or a configuration bug. -Mark

Re: Segfault with Embperl, Apache::Session

2000-04-13 Thread Jason Bodnar
The binaries on both boxes are the same. They get rdist'd out from one machine every night. I'm going to rebuild the latest versions of everything on the 2.7 machine tomorrow and see if that makes a difference. At 10:57 PM 4/13/00 -0400, Mark Imbriaco wrote: On Thu, 13 Apr 2000, Jason Bodnar

Segfault with Embperl, Apache::Session

2000-04-13 Thread Jason Bodnar
Trying to use Apache::Session with Embperl 1.2.1, mod_perl 1.21, Apache 1.3.9. I've got this running on another machine just fine with the exact same setup (I think). I created a db called sessions with a table called sessions: mysql show fields from sessions

RE: Segfault with Embperl, Apache::Session

2000-04-13 Thread Doug MacEachern
this copy-n-paste from ~/Mail/.sent-mail-dec-1999 might help: --- a few things could shed some more light: build a libperld.a and compile with PERL_DEBUG=1 (see SUPPORT doc) and/or, in gdb: (gdb) source mod_perl-1.21/.gdbinit (gdb) curinfo should tell you the line/filename of the offending

Apache::Session -- Go Out of Scope!!!

2000-04-07 Thread Russell D. Weiss
I'm using Apache::Session within a large Web application (consisting of many scripts). We also have multiple developers on this project, some of whom are junior developers with only a bit of mod_perl experience. In any case, I've written a custom session package that wraps to Apache::Session

Re: Apache::Session -- Go Out of Scope!!!

2000-04-07 Thread Jeffrey W. Baker
On Fri, 7 Apr 2000, Russell D. Weiss wrote: I'm using Apache::Session within a large Web application (consisting of many scripts). We also have multiple developers on this project, some of whom are junior developers with only a bit of mod_perl experience. In any case, I've written

Re: Apache::Session -- Go Out of Scope!!!

2000-04-07 Thread Perrin Harkins
On Fri, 7 Apr 2000, Russell D. Weiss wrote: Normally, this works great. No problem at all. This object goes out of scope at the end of the script (it's scoped lexically with "my"). It also goes out of scope when "die" is explicitly called. If I add "die 'Blah blah blah'" to an app, things

Apache::Session and IPC::Semaphore

2000-04-07 Thread Adi
I get an intermittent error using Apache::Session while trying to tie a session. It occurs sometimes and the only way to fix it I've found is to reboot. The weird thing is that I change nothing and rebooting fixes it. Looks like a semaphore problem. Why would the call: new IPC::Semaphore

Re: Apache::Session and IPC::Semaphore

2000-04-07 Thread Jeffrey W. Baker
On Fri, 7 Apr 2000, Adi wrote: I get an intermittent error using Apache::Session while trying to tie a session. It occurs sometimes and the only way to fix it I've found is to reboot. The weird thing is that I change nothing and rebooting fixes it. Looks like a semaphore problem. Why

RE: Apache::Session -- Go Out of Scope!!!

2000-04-07 Thread Russell D. Weiss
You could try using a PerlCleanupHandler to kill any open locks. $r-register_cleanup( \clear_locks ); - Perrin Perrin, Thanks a lot. This worked great :-). Actually, as I say, I'm wrapping to Apache::Session with another object that handles cookies, expiration, etc. I just registered

Re: Apache::Session::DBI

2000-03-30 Thread Jeffrey W. Baker
On Thu, 30 Mar 2000 [EMAIL PROTECTED] wrote: Hi, I'm trying to use Apache::Session::DBI. I got the hang of it and started using it but I get the following error: [Thu Mar 30 04:41:41 2000] [error] Can't call method "store" on unblessed reference at lib/web/webmaster.p

Re: Apache::Session, DBD::Oracle

2000-02-08 Thread Perrin Harkins
On Wed, 9 Feb 2000, Robert Locke wrote: We've been using the latest Apache::Session::DBI with some success using Oracle 8i (DBD::Oracle 1.03) as the data store. (Basically, we applied Ajit Deshpande's recommendation of patching DBIStore.pm with a large number for LongReadLen. See http

Re: Apache::Session, DBD::Oracle

2000-02-08 Thread Greg Stark
[EMAIL PROTECTED] (Robert Locke) writes: - store this string into Oracle (type is LONG) You really really don't want to be using LONG btw. How large is the data you're really storing anyways? Oracle can do varchars up to 2k unlike some other pesky databases. LONGs have a number of

Apache::Session, DBD::Oracle

2000-02-08 Thread Robert Locke
Hi, We've been using the latest Apache::Session::DBI with some success using Oracle 8i (DBD::Oracle 1.03) as the data store. (Basically, we applied Ajit Deshpande's recommendation of patching DBIStore.pm with a large number for LongReadLen. See http:[EMAIL PROTECTED] for reference.) We

Anyone else have mod_perl and Apache::session httpd hangs on Solaris?

2000-02-02 Thread Keith Kwiatek
Hi, Apache::session is a wonderful product. Is there anyone successfully using Apache::session on solaris 2.7? Do to MY misuse, or solaris problem, my httpd hangs upon my mod_perl/Apache::session script request. I have traced the hang in my script to where I am issuing : tie %session

Re: Anyone else have mod_perl and Apache::session httpd hangs on Solaris?

2000-02-02 Thread Keith Kwiatek
Hi again, P.S. I seem to have just duplicated the problem running JUST the example.perl script contained within the Apache::session distribution It occurs when you try to create a new session I am able to create a number of new sessions, and then on the 8th or 9th try, it hangs

Re: Anyone else have mod_perl and Apache::session httpd hangs onSolaris?

2000-02-02 Thread Jeffrey W. Baker
Keith Kwiatek wrote: Hi again, P.S. I seem to have just duplicated the problem running JUST the example.perl script contained within the Apache::session distribution It occurs when you try to create a new session I am able to create a number of new sessions, and then on the 8th

Re: Anyone else have mod_perl and Apache::session httpd hangs onSolaris?

2000-02-02 Thread jasonb
On Wed, 2 Feb 2000, Keith Kwiatek wrote: Hi again, P.S. I seem to have just duplicated the problem running JUST the example.perl script contained within the Apache::session distribution It occurs when you try to create a new session I am able to create a number of new sessions

Lingering processes --is it a mod_perl or Apache::session issue?

2000-02-01 Thread Keith Kwiatek
Hello, I have been using mod_perl with Apache::session... after doing development of a few cgi's I noticed that the apache server started spitting out "can't spawn another process" messages in the error log. When I stopped the apache server it listed about a million httpd

Re: Apache::Session::DBI problems

2000-01-25 Thread Mark Jewiss
Hello, On Wed, 19 Jan 2000, Kip Cranford wrote: I don't suppose it could be as simple as having a full disk? What does "df -k" report... I'm afraid not, no. Plenty of space is left on the drives. Regards, Mark. -- Mark Jewiss Knowledge Matters Limited http://www.knowledge.com

Re: Additions to the Apache::Session docs

2000-01-21 Thread Jeffrey W. Baker
Thanks Randy, I must make an Apache::Session FAQ. It would have this question and the one about semaphores on Solaris. I could make Apache::Session has a deep understanding of the data structure by having it compare the serialized hash before and after the session activity. I wonder

Apache::Session::DBI problems

2000-01-19 Thread Mark Jewiss
Hello, I'm trying to run a simple script using Apache::Session for the first time, and am having a few problems. Can't see anything relating to this in the documentation or the archives, so here goes... Whenever I run a script, everything works until I try to create a new session id, where I

Apache::Session, Embperl...

2000-01-18 Thread Robert Locke
We are using Embperl 1.2, Apache Session 1.3 (using DBIStore/SysVSemaphoreLocker) with Oracle as the backend. We've been observing periodic browser hangs which can be sporadically replicated by hitting the same page in quick succession using the same session id. After doing that, updating

RE: Apache::Session, Embperl...

2000-01-18 Thread Gerald Richter
We are using Embperl 1.2, Apache Session 1.3 (using DBIStore/SysVSemaphoreLocker) with Oracle as the backend. We've been observing periodic browser hangs which can be sporadically replicated by hitting the same page in quick succession using the same session id. After doing that, updating

RE: Embperl + Apache::Session

2000-01-16 Thread Gerald Richter
y (although I cannot remember seeing any error during installation)? I just searched for your initial mail and the module versions you metioned there should work just fine. Please try to include the following output in your test page: 1 = [+ ref (tied(%udat)) +] 2 = [+ ref (tied(%HTML::Embperl::udat

RE: Embperl + Apache::Session

2000-01-16 Thread Gerald Richter
ing output in your test page: 1 = [+ ref (tied(%udat)) +] 2 = [+ ref (tied(%HTML::Embperl::udat)) +] 3 = [+ $Apache::Session::VERSION +] 4 = [+ $HTML::Embperl::Session::VERSION +] what is the output of this? 1 = HTML::Embperl::Session 2 = HTML::Embperl::Session 3 = 1.04 4 = 1.00 This

Re: Embperl + Apache::Session

2000-01-16 Thread Andre Landwehr
On Sun, Jan 16, 2000 at 03:37:51PM +0100, Gerald Richter wrote: This looks ok for the Embperl part, but if you have now staticly linked mod_perl you should throw out the LoadModule perl_module . I don't know what Apache does, if a module is staticly and dynamicly present, but this doesn't

Apache::Session: hanging until alarm?

2000-01-16 Thread tarkhil
Hello! I've tried to use Apache::Session (with DBI and SysVSemaphoreLocker), and it failed. Many people replied me here that "Apache::Session is OK". I've set locking to NullLocker, and experienced data corruption. Well, I've put an alarm inside my handler, and it bangs ove

Re: Embperl + Apache::Session

2000-01-14 Thread Andre Landwehr
On Fri, Jan 14, 2000 at 07:00:13AM +0100, Gerald Richter wrote: You need to setup session handling at all, e.g. PerlSetEnv EMBPERL_SESSION_CLASSES "FileStore SysVSemaphoreLocker" That is PerlSetEnv EMBPERL_SESSION_CLASSES "FileStore NullLocker" in my httpd.conf When you restart your

RE: Embperl + Apache::Session

2000-01-14 Thread Gerald Richter
Since this happens on two machines with at least slightly different Linux distributions (one is Mandrake 6.0, the other a Redhat 5.2) I think it is a configuration problem... so if someone could please email me her complete configuration files I'd have more means to test What you describe

RE: Embperl + Apache::Session

2000-01-14 Thread Gerald Richter
PerlModule HTML::Embperl This line loads Embperl at startup, remove it! I could also build embperl staticly, maybe that helps. This will surly solve a lot of problems. But a quick try some minutes ago with just recompiling mod_perl with USE_DSO=0 and configuring apache with

Re: Embperl + Apache::Session

2000-01-14 Thread Andre Landwehr
On Fri, Jan 14, 2000 at 01:31:17PM +0100, Gerald Richter wrote: What you describe looks good to me. There is one other issue, that is dynamlic linking mod_perl. How comes mod_perl into your Apache? Is it dynamicly loaded at runtime (i.e. by a LoadModule in your httpd.conf) or is it staticly

Re: Embperl + Apache::Session

2000-01-13 Thread Andre Landwehr
On Wed, Jan 12, 2000 at 11:12:53AM -0800, Cliff Rayman wrote: i am using embperl with cookies. i also have this set in httpd.conf PerlSetEnv EMBPERL_COOKIE_DOMAIN .genwax.com PerlSetEnv EMBPERL_COOKIE_PATH / PerlSetEnv EMBPERL_COOKIE_EXPIRES 'Friday, 31-Dec-2010 14:00:00 GMT' how are

Apache::Session, AGAIN

2000-01-13 Thread tarkhil
Hello! I've just tried to work (again) with Apache::Session::DBI, and the following handler: # skipped sub handler { my ($r) = @_; return -1 if $r-method !~ /^(GET|POST|HEAD)$/; return -1 if defined($r-content_type) $r-content_type !~ m|^text/|io; my %session; my $cookie = $r

Re: Embperl + Apache::Session

2000-01-12 Thread Cliff Rayman
to use sessionmanagement via Apache::Session together with HTML::Embperl. As I understand from the documentation I just need to configure a storing and a locking mechanism in httpd.conf to do so. After that I should be able to use the %udat hash to store session related data, HTML::Embperl

Mason + Apache::Session .. strange problems.

2000-01-10 Thread Ian Mahuron
This will be posted to both the mod_perl and mason mailing lists. I'm tearing my hair out here. I'm using Apache::Session with Mason (snippet of calls to Apache::Session below). For some reason, when I hit certain pages with java applets (opencube scroller), and then do a browser "re

RE: Mason + Apache::Session .. strange problems.

2000-01-10 Thread Ian Mahuron
] tie() failed: 'Object does not exist in the data store at /usr/local/lib/perl5/site_perl/5.005/Apache/Session/DBIStore.pm line 192. ' panic: POPSTACK Callback called exit. So the first line is request #1.. the second line is the java applet requesting its file.. the third and all following lines

RE: Mason + Apache::Session .. strange problems.

2000-01-10 Thread Ian Mahuron
It turns out that the java applet making another request for a page on the server was causing my cookie to be reset. Moving the file it was requesting out of mason's reach fixed the problem.

Additions to the Apache::Session docs

2000-01-06 Thread Randy Harmon
Unless someone wants to implement multi-level tied hashes (/arrays) to correct the following problem, something like the following should make it into the Apache::Session documentation. I hope it helps some folks. Randy --- When you store a hashref in a tied Apache::Session

Apache::Session::DBI on Solaris 2.6 woes

2000-01-04 Thread Chris Carline
Hi there, For the last 2 months, I've been using Apache::Session::DBI on a Solaris 2.6 box (with the semaphorelocker nsems value set to 16) to store session information on a busy web site. Unfortunately, things seem to have gone awry, specifically with the tie: tie %SESSION, 'Apache::Session

Re: Apache::Session::DBIStore and Sybase

1999-12-07 Thread Vladimir Ivaschenko
Mark D. Laundry wrote: dynamic PREPARE on IMAGE or TEXT datatypes" (sorry, don't have access to server right now). Try the following: Thanks a lot, seems to work - I was just going to modify it myself now. :) However, I decided to split the packages into two files - Session/DBI/Sybase.pm

Apache::Session::DBIStore and Sybase

1999-12-04 Thread Vladimir Ivaschenko
Hello, I've been trying to make Apache::Session::DBIStore (ver 1.04) work with Sybase. Unfortunately Sybase does not permit PREPARE statements to have IMAGE/TEXT datatypes (or at least I haven't found a way to make it work yet) and I get an error. Maybe someone is aware of solution

Re: Apache::Session::DBIStore and Sybase

1999-12-04 Thread Mark D. Landry
Vladimir Ivaschenko wrote: Hello, I've been trying to make Apache::Session::DBIStore (ver 1.04) work with Sybase. Unfortunately Sybase does not permit PREPARE statements to have IMAGE/TEXT datatypes (or at least I haven't found a way to make it work yet) and I get an error. What error

Re: Apache::Session::DBIStore and Sybase

1999-12-04 Thread Vladimir Ivaschenko
Sat, Dec 04, 1999 at 09:34:07AM -0500 Mark D. Landry ÎÁÐÉÓÁÌ ÐÏ ÐÏ×ÏÄÕ Re: Apache::Session::DBIStore and Sybase Sybase. Unfortunately Sybase does not permit PREPARE statements to have IMAGE/TEXT datatypes (or at least I haven't found a way to make it work yet) and I get an error. What

Embperl / Apache::Session bug?

1999-11-16 Thread Aaron Elkiss
Hi.. I'm trying to get session handling (%udat and %mdat) to work with embperl 1.2b11. I'm running stock redhat 6.1 on a p200; this comes with apache 1.3.9, mod_perl 1.21, and perl 5.00503. I installed embperl 1.2b11 and Apache::Session 1.04. I had previously installed and was using MySQL

RE: Embperl / Apache::Session bug?

1999-11-16 Thread Gerald Richter
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Aaron Elkiss Sent: Tuesday, November 16, 1999 4:46 PM To: [EMAIL PROTECTED] Subject: Embperl / Apache::Session bug? Hi.. I'm trying to get session handling (%udat and %mdat) to work with embperl

Re: Embperl / Apache::Session bug?

1999-11-16 Thread Aaron Elkiss
Preloading Apache::Session also causes sigsegv'ing, this time while dealing with MD5.pm. Preloading nothing seems to work. -aaron On Tue, Nov 16, 1999 at 05:00:31PM +0100, Gerald Richter [EMAIL PROTECTED] Gerald Richter muttered about RE: Embperl / Apache::Session bug?: -Original

RE: Embperl / Apache::Session bug?

1999-11-16 Thread Gerald Richter
Preloading Apache::Session also causes sigsegv'ing, this time while dealing with MD5.pm. Preloading nothing seems to work. And Embperl is _not_ loaded at startup time? When does SIGSEGV occurs, when the server starts, on the first Embperl request or on the first request which uses %udat

Re: Embperl / Apache::Session bug?

1999-11-16 Thread Aaron Elkiss
On Tue, Nov 16, 1999 at 07:43:38PM +0100, Gerald Richter [EMAIL PROTECTED] Gerald Richter muttered about RE: Embperl / Apache::Session bug?: Preloading Apache::Session also causes sigsegv'ing, this time while dealing with MD5.pm. Preloading nothing seems to work. And Embperl is _not_

Apache::Session Locking

1999-11-07 Thread tarkhil
"Kimbro" == Kimbro Staken writes: Kimbro I'm trying to setup Apache::Session under Embperl with a MySQL Kimbro datastore. I have multiple machines that will be serving the site thus Kimbro all machines will access the datastore. In the documentation it says to Kimbro use th

Apache::Session Locking

1999-10-22 Thread Kimbro Staken
I'm trying to setup Apache::Session under Embperl with a MySQL datastore. I have multiple machines that will be serving the site thus all machines will access the datastore. In the documentation it says to use the DBIStore with a DaemonLocker which is fine. However there seems

Re: Apache::Session and File Upload (Was: Apache::Session hangs script)

1999-10-21 Thread Jeffrey Baker
Kip Cranford wrote: Again, I'm using mod_perl 1.21, apache 1.3.9, Apache::Session 1.03, on a RedHat 6 linux system with perl 5.005_03, and am using Netscape Comm. 4.51 as my browser. The problem now seems to be Apache::Session and file uploads. My handler is providing a simple file

Re: Apache::Session and File Upload (Was: Apache::Session hangs script)

1999-10-21 Thread Kip Cranford
it back to multipart, and it hangs. Any idea there?? Thanks for your attention, --kip p.s. I'm including the test script at the end of this message -- there's probably something obviously wrong that I just can't see... The problem is that you are leaking session handles. For Apache::Session

Re: eval'ed Apache::Session tie panics with POPSTACK?

1999-10-20 Thread Peter Haworth
Tobias Hoellrich wrote: I wanted to trap non-existant session-id's by bracketing the tie %{$href}, 'Apache::Session::DBI', $id, { DataSource = 'dbi:mysql:sessions', UserName = 'db_user', Password = 'db_passwd' }; with an eval { }; block. Once I've done

Apache::Session hangs script

1999-10-19 Thread Kip Cranford
I'm using Apache/1.3.9 (Unix), mod_perl/1.21, Apache-Session-1.03, with MySQL 3.22.25. I'm using the the Apache::Session::DBI module with MySQL to provide some simple session management. I'm running the script as a PerlHandler... I'm storing the session ID as a hidden variable, which I

eval'ed Apache::Session tie panics with POPSTACK?

1999-10-19 Thread Tobias Hoellrich
I wanted to trap non-existant session-id's by bracketing the tie %{$href}, 'Apache::Session::DBI', $id, { DataSource = 'dbi:mysql:sessions', UserName = 'db_user', Password = 'db_passwd' }; with an eval { }; block. Once I've done this and send a non-existant session-id I get

Apache::Session::DBI and PostgreSQL

1999-10-17 Thread Miguel A.L. Paraz
Hi all, I'm trying out Apache::Session for the first time, with this bit of code adapted from the manual: #!/usr/bin/perl -w use strict; #use Apache::Session::File; use Apache::Session::DBI; my %session; #make a fresh session for a first-time visitor #tie %session, "Apache::Session:

Re: Apache::Session and auto-expiration

1999-10-14 Thread Dmitry Beransky
Folks, My apologies and please disregard my previous post. I just realized (with help from Andy Pruitt) that what I saw were the remnants of the old Apache::Session. The new Apache::Session doesn't implement auto-expiration. Sorry for the mixup. Dmitry At 02:13 PM 10/13/99 , Dmitry

Apache::Session. Why Apache? Why Session?

1999-10-14 Thread Dmitry Beransky
I've been going through the code of Apache::Session trying to understand how it works and how to use it when it occurred to me that the module doesn't really measure up to it's name. I mean IMHO, the name is a bit misleading. First. It looks like the module's code is completely self

RE: Apache::Session

1999-10-12 Thread Gerald Richter
I would appreciate if anybody succesfully using either Apache::Session::File or Apache::Session::File could paste in the lines they used in their Apache configuration files to initialize Apache::Session -- I have only been able to use Apache::Session 0.17 but now that Embperl has been

RE: Embperl and Apache::Session (was: Installation problem whith Embperl)

1999-10-10 Thread Gerald Richter
I tried to install HTML::Embperl with Apache/mod_perl on a Sparc/Solaris server, but 'make test' failed with an error on the module Apache/Session/Win32.pm. Did someone already encounter/solve this kind of problem ? 1) My config is: OS = Solaris apache V1.3.9 mod_perl V1.21 Apache

problem with Embperl and Apache::Session::File

1999-10-10 Thread David R. Saunders
Folks, I'm running: Solaris 2.6 Perl 5.005_03 Apache-Session-1.04 HTML_Embperl-1.2b10 and I'm trying to use Apache::Session::File ... I have this test program: #!/usr/local/perl5.005_03/perl use Apache; use Apache::Session::File; my $id = 1; my $opts = { Directory =gt; '/tmp' }; my %session

Re: problem with Embperl and Apache::Session::File

1999-10-10 Thread Jeffrey W. Baker
"David R. Saunders" wrote: Folks, I'm running: Solaris 2.6 Perl 5.005_03 Apache-Session-1.04 HTML_Embperl-1.2b10 and I'm trying to use Apache::Session::File ... I have this test program: #!/usr/local/perl5.005_03/perl use Apache; use Apache::Session::File; my $i

Re: Installation Problem with Apache::Session and Mason

1999-01-02 Thread Jeffrey Baker
[EMAIL PROTECTED] wrote: I'm having a problem setting up Apache::Session on one machine and not another, and I'm hoping that someone will recognize what I'm doing wrong. I'm using Mason to make the connection to the package when Apache starts up. On the problem server, the following

Apache::Session hangs script

1999-01-02 Thread tarkhil
"Kip" == Kip Cranford writes: Kip I'm using Apache/1.3.9 (Unix), mod_perl/1.21, Apache-Session-1.03, with Kip MySQL 3.22.25. I'm using the the Apache::Session::DBI module with MySQL Kip to provide some simple session management. I'm running the script as a Kip PerlHandler... K

<    1   2   3   4   5