Hi everybody,

We plan to develop a new site using Embperl.

Our current installed program :
Apache: 1.3.12          mysql: 3.22.32
Embperl: 1.3b2          Apache::Session: 1.03
etc.
----------------------------------------------------------------------------
----------------------------------------------------------------
in  httpd.conf  we set:

PerlSetEnv EMBPERL_SESSION_CLASSES "DBIStore SysVSemaphoreLocker"
PerlSetEnv EMBPERL_SESSION_ARGS "object_store=DBIStore
DataSource=DBI:mysql:session"

PerlModule HTML::Embperl    
----------------------------------------------------------------------------
--------------------------------------------------------------------
We start using %udat to manage sessions, the test files are as followings:
# test1.epl
[-
        $name = "hello";
        $udat->{'username'} = $name;
-]
<html>
<body>
<a href="e2.epl">Press here to go somewhere else</a>
</body>
</html>

# test2.epl
<html>
<body>
[-
        $username = $udat->{'username'};
-]
[+ "username=" +]
[+ $username +]
</body>
</html>      

*when we jump to test2.epl from test1.epl, $username is not displayed at
all.

Please advise,

Regards,

Wei                

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

Reply via email to