RE: Session Management

2000-03-27 Thread indrek siitan
Hi, > But my problem of the other page where the session management > just doesn't work at all is still with me. I put data into > $udat{'username'} and then go to another page with > $http_headers_out{'Location'}. When I get there I check to see > if $udat{'username'} is defined. It isn't. I l

RE: Compile problems

2000-03-27 Thread Gerald Richter
> > It produced the same results. ok, it isn't so easy as I hoped... I am going to install Perl 5.6 here and let you know when have any news. > Failed on the read? of the ascii file. No, it fails in cleanup, when it tries to determinate the filename of a the sourcefile of a variable Gerald

RE: Session Management

2000-03-27 Thread Gerald Richter
Hi, > > > But my problem of the other page where the session management > just doesn't work > at all is still with me. I put data into $udat{'username'} and > then go to > another page with $http_headers_out{'Location'}. When I get there > I check to see > if $udat{'username'} is defined. It isn't

Re: Session Management

2000-03-27 Thread Cliff Rayman
Yes - should be no problem. Just put the PerlSetEnv EMBPERL_* settings inside the tags for each of the domains using cookies. The domains will NOT be able to share the cookies however. That would be a different trick. :-) cliff rayman genwax.com Aaron Johnson wrote: > Cliff, > > Well what i

Re: Session Management

2000-03-27 Thread Aaron Johnson
Cliff, Well what if I have 30 domains and 5 are using cookies? Can I set it in the VirtualHost section? Thanks for you quick reponse to the first batch of questions. Aaron Johnson Cliff Rayman wrote: > the following three settings should do it. > just change .genwax.com to .gina.net or the do

Re: Session Management

2000-03-27 Thread Cliff Rayman
the following three settings should do it. just change .genwax.com to .gina.net or the domain of the server (if different). my PATH applies to everything in my domain, but it can apply to a subset if you desire such as /embperl/ etc.. here are my cookie settings: PerlSetEnv EMBPERL_COOKIE_DOMAIN

Re: Session Management

2000-03-27 Thread Aaron Johnson
Gerald, What should I set the EMBPERL_COOKIE_PATH to? Any recommended path? How does this effect the cookie versus the default? What doc/code can I read to help me understand what is going on? Aaron Johnson Gerald Richter wrote: > Hi, > > > > I am having trouble with session management. It see

Re: Compile problems

2000-03-27 Thread Aaron Johnson
It produced the same results. Failed on the read? of the ascii file. (gdb) bt #0 0x805e165 in Perl_gv_fetchfile () #1 0x400f2048 in XS_HTML__Embperl_GVFile (cv=0x81eb360) at Embperl.xs:76 #2 0x8097ad3 in Perl_pp_entersub () #3 0x8092be6 in Perl_runops_standard () #4 0x805b105 in S_run_body

RE: Compile problems

2000-03-27 Thread Gerald Richter
> Here is the output from the debug version. I didn't see a > LDDFLAGS but I saw > LDDLFLAGS, is that where I add the -g? (I added it there and nothing bad > happend :^) > > Hope this helps. > Yes Does it change anything, if you change line 75 in Embperl.xs from if (gv && SvTYPE(gv) ==

RE: Session Management

2000-03-27 Thread Gerald Richter
Hi, > > I am having trouble with session management. It seems to be > inconsistent on my > system. Sometimes it works, and sometimes it doesn't. > > I am using Oracle 8i on RH6.0 with Apache/1.3.12 (Unix) mod_perl/1.21. > Apache is set up with DBIStore SysVSemaphoreLocker. > > When I set $udat{'us

Re: Compile problems

2000-03-27 Thread Aaron Johnson
Gerald, Here is the output from the debug version. I didn't see a LDDFLAGS but I saw LDDLFLAGS, is that where I add the -g? (I added it there and nothing bad happend :^) Hope this helps. 0x805e165 in Perl_gv_fetchfile () (gdb) bt #0 0x805e165 in Perl_gv_fetchfile () #1 0x400f2044 in XS_HTML_

RE: caching patch for Embperl 1.2.1 / 1.3b2

2000-03-27 Thread Gerald Richter
Hi Todd, > > We have a function we use called includeexec that includes an Embperl > file and executes it, using the same namespace as the caller. >.. > We ran into a problem where two different files include menu.html and > the namespace was being mismatched. Brian and I traced it to a > cachin

RE: Syntax enhancement request

2000-03-27 Thread Gerald Richter
Hi, > > My code tends to generate HTML, so I find myself writing this: > [+ $escmode=0; $varName +] all the time. > > IMHO, this looks ugly, and will confuse the poor HTML coders I want to > hire. I have been thinking that another embperl directive that turns > off escmode would be useful. Somet

RE: Compile problems

2000-03-27 Thread Gerald Richter
Aaron, > > Ok. Is this what you are looking for? > Yes, that is exactly what I need ! >... > I will resend with debug enabled if it is. > That would be great. If you could do this, I think I would be able to fix the bug, even without installing Perl 5.6 here Gerald

Session Management

2000-03-27 Thread Philip Plane
Hi, I am having trouble with session management. It seems to be inconsistent on my system. Sometimes it works, and sometimes it doesn't. I am using Oracle 8i on RH6.0 with Apache/1.3.12 (Unix) mod_perl/1.21. Apache is set up with DBIStore SysVSemaphoreLocker. When I set $udat{'username'} etc,

caching patch for Embperl 1.2.1 / 1.3b2

2000-03-27 Thread Todd R. Eigenschink
Gerald, We have a function we use called includeexec that includes an Embperl file and executes it, using the same namespace as the caller. We use this all the time for stuff like this: [+ $menu_item = 1; includeexec('menu.html'); +] So menu.html tests the value of $menu_item and highlights th

Syntax enhancement request

2000-03-27 Thread Eric Lowry
Hi all (from a new list member), My code tends to generate HTML, so I find myself writing this: [+ $escmode=0; $varName +] all the time. IMHO, this looks ugly, and will confuse the poor HTML coders I want to hire. I have been thinking that another embperl directive that turns off escmode wo

Re: Compile problems

2000-03-27 Thread Aaron Johnson
Gerald, Ok. Is this what you are looking for? Starting program: /usr/local/bin/perl test.pl loading...ok Testing offline mode... ascii... Program received signal SIGSEGV, Segmentation fault. 0x805e179 in Perl_gv_fetchfile () (gdb) bt #0 0x805e179 in Perl_gv_fetchfile ()

RE: Compile problems

2000-03-27 Thread Gerald Richter
> > If you send me a bit more instruction on how to do that I can. > I have been extermely lucky with Perl and its modules in that > most of time they > compile out of the "box" and I don't program C so you will have > to guide me a > bit. > Do a perldoc Faq.pod and search for "bactrace" (It'

RE: Compile problems

2000-03-27 Thread Gerald Richter
Hi, > > I am trying to get Embperl > (tried 1.2.0 1.2.1 and 1.3b2) > to compile with Perl 5.6 > Apache 1.3.9 and mod_perl 1.22, > but when I do the make test I get to the ascii test and it dies. > Did I compile Perl wrong? I used the defaults. All other modules are > compiling fine. (DBI DBD::

Re: Compile problems

2000-03-27 Thread Randy Kobes
On Mon, 27 Mar 2000, Aaron Johnson wrote: > I am trying to get Embperl > (tried 1.2.0 1.2.1 and 1.3b2) > to compile with Perl 5.6 > Apache 1.3.9 and mod_perl 1.22, > but when I do the make test I get to the ascii test and it dies. > Did I compile Perl wrong? I used the defaults. All other modul

Compile problems

2000-03-27 Thread Aaron Johnson
I am trying to get Embperl (tried 1.2.0 1.2.1 and 1.3b2) to compile with Perl 5.6 Apache 1.3.9 and mod_perl 1.22, but when I do the make test I get to the ascii test and it dies. Did I compile Perl wrong? I used the defaults. All other modules are compiling fine. (DBI DBD::mysql MD5 mod_perl et

Re: [- vs <% vs

2000-03-27 Thread Frerk Meyer
Ilia Lobsanov wrote: > > Why not just wrap embperl in html comments? > > > I know it's not the best solution, but it's something. > > ilia. > This is no solution in our environment, because Adobe GoLive! rearranges HTML comments: Orginal SSI: b d After GoLive!: b d Result is that eve