Hi!
When using Apache::Session
PerlSetEnv EMBPERL_SESSION_ARGS "DataSource=dbi:mysql:test UserName=root
Password="
worked ok.
When I use Apache::SessionX it uses only the values that I entered when
doing Makefile.PL.
How to modify those default values?
Thanks for your help.
---
Hi,
> I've been working at converting to Embperl 2.x but I am running into a
> problem. It seems that when I use the $escmode=0 option there is a
> significant delay in serving the request to the client (actually, the
delay is
> at the end). The client seems to just hang waiting for somethi
Hello,
I've been working at converting to Embperl 2.x but I am running into a
problem. It seems that when I use the $escmode=0 option there is a
significant delay in serving the request to the client (actually, the delay is
at the end). The client seems to just hang waiting for something fo
> apparently Begin() doesn't actually do anything..
>
Yes, because DBI didn't had a begin method...
> This version calls dbh->begin_work, which temporarily turns off
> AutoCommit (until the next rollback/commit) and begins a transaction.
>
This make sense, unfortunately begin_work is very new
>
> Hm, but is some trick like that AUTOLOAD possible this way:
> [!
> package Foo;
> sub AUTOLOAD
> {
># call Embperl sub here
> }
> !]
> [$ sub Embperlsub $]~
> ..
> [$ endsub $]
>
> when in # call Embperl I call Embperlsub?
I think this should work, also I didn't tried it.
> Actual proble
Hi!
>
>
> Now I have reached to another problem:
> I create session in CGI program
>
>...
>
> How can I call that same session out in EmbPerl mode ($udat{username})?
>
You need to set the cookie with the session id in your cgi script . Look at
the function SetSessionCookie in Embperl.pm for an e
> With the help of the group, I am now able to upload files to my server and
> get the orignal name of the file.
>
> What I do is then store the name of the file and the directory of where it
> is being placed in a database. When the user goes to the summary page, I
> query the database and build
Hi!
> Embperl uses Apache::SessionX for storage (HTML::Embperl::Session before
> 1.3.4, but there is only a small difference). You can use this module in
> your CGI scripts too, to access the session data. You need to pass the
same
> setup parameters to Apache::SessionX and the session id.
Thank
>
> So, like this:
>
> [$ var $xxx $]
> [- $yyy = 1 -]
> [$ sub foo $]
>[-
> $xxx = 1;
> $yyy = 2;
>-]
> [$ endsub $]
>
> Yes, that generates the expected error (Global symbol "$yyy" requires
> explicit package name at line 2). I hadn't tried that. So it looks like
> this h
With the help of the group, I am now able to upload files to my server and
get the orignal name of the file.
What I do is then store the name of the file and the directory of where it
is being placed in a database. When the user goes to the summary page, I
query the database and build a list o
10 matches
Mail list logo