looks like they always logged in almost at
> the same time (within 30 min from each other). Does that say anything to
> you ?
Given that you think 30 minutes is "close", that tells me that you're
not having a collision on the original pseudo random number - for that
to hit, you
>
>
> > > Create a new similar module with your desired alogrithem
> > and specify it as
> > > Generatior in the Embperl config
> > >
> >
> > Hi!
> >
> > How would you change the Embperl config accordingly.
> >
>
>
> EMBPERL_SESSION_CLASSES "MySQL Semaphore Storable myMD5"
>
>
> See al
Ed Grimm wrote:
On Mon, 15 Nov 2004, Pierre Etchemaite wrote:
Le lun 15 nov 2004 18:24:06 CET, Ed Grimm <[EMAIL PROTECTED]>
a écrit :
Apache::Session generates the id by doing a md5 hash on a random
number (time () . {} . Rand() . $$) , maybe there are situation where
it generates the same id (als
Gerald Richter wrote:
How hard would it be to change the code to use a SHA or SSHA
hash instead? (Admittedly, I'm picking a more
cryptographically secure hash at psuedo-random; there may be
one that's more appropriate.) Note that I realize they take
longer to generate, but that time only happ
>
> How hard would it be to change the code to use a SHA or SSHA
> hash instead? (Admittedly, I'm picking a more
> cryptographically secure hash at psuedo-random; there may be
> one that's more appropriate.) Note that I realize they take
> longer to generate, but that time only happens at lo
On Mon, 15 Nov 2004, Pierre Etchemaite wrote:
> Le lun 15 nov 2004 18:24:06 CET, Ed Grimm <[EMAIL PROTECTED]>
> a écrit :
>
>>> Apache::Session generates the id by doing a md5 hash on a random
>>> number (time () . {} . Rand() . $$) , maybe there are situation where
>>> it generates the same id (al
Le lun 15 nov 2004 18:24:06 CET, Ed Grimm <[EMAIL PROTECTED]>
a écrit :
> > Apache::Session generates the id by doing a md5 hash on a random
> > number (time () . {} . Rand() . $$) , maybe there are situation where
> > it generates the same id (also this should normaly not happen).
>
> MD5 hash c
On Mon, 15 Nov 2004, Gerald Richter wrote:
> Hi,
>
>> The problem is that this happens maybe once or twice a month (we have
>> about 10-15 thousands login per day). So it's really hard to
>> reproduce, and as far as I understand wouldn't the closure problem
>> create this problem more often ?)
>
>
, I can understand why the sub's would give wrong
> >>results. Why the sessions would get mixed up I do not understand...
> >>
> >
> >
> > That might be the case when you keep data of a previous session in a
> > closure.
> >
> > The other
ote:
After reading alot, I can understand why the sub's would give
wrong results. Why the sessions would get mixed up I do not
understand...
That might be the case when you keep data of a previous session in a
closure.
The other possibility would be that Apache::Session generates duplicate ids
>
> After reading alot, I can understand why the sub's would give
> wrong results. Why the sessions would get mixed up I do not
> understand...
>
That might be the case when you keep data of a previous session in a
closure.
The other possibility would be that Apach
On Thu, Nov 11, 2004 at 11:36:50PM +0100, Stefan Cars wrote:
> > Andre Landwehr wrote:
> >Here is a thread from the time I had the problem, including
> >Geralds answer.
> >http://www.gossamer-threads.com/lists/modperl/embperl/11175#11175
> >
> >The link Gerald posted is no longer valid, but I think
Hi!
After reading alot, I can understand why the sub's would give wrong
results. Why the sessions would get mixed up I do not understand...
/S
Andre Landwehr wrote:
On Wed, Nov 10, 2004 at 10:25:24PM +0100, Stefan Cars wrote:
Correct, it seems that they are doing "do 'inc.pl
Hi!
Does this means that for example $udat{foo} can't be used inside a sub
that is created with sub { } and not [$ sub $] and included with the
'do' syntax ?
Kind Regards,
Stefan Cars
Andre Landwehr wrote:
On Wed, Nov 10, 2004 at 10:25:24PM +0100, Stefan Cars wrote:
Correct, it seems that they a
On Wed, Nov 10, 2004 at 10:25:24PM +0100, Stefan Cars wrote:
> Correct, it seems that they are doing "do 'inc.pl'" alot, is there
> around it or do we really need to change it to be [$ sub $] instead ? Or
> can we fix our subs to not close ?? Do you have any URL's to this ?
Here is a thread fro
anged in the middle of sessions and that it got another
> session from another user currently also beeing logged in. Do you know
> if this might be possible ?
Typically this behaviour means you have an (unwanted) closure
somewhere in your page. I experienced that effect many, many
times. E
Hi!
We get reports about that people sometimes in the middle of a
registration get other peoples information. The only way I can see this
happen (after days of investigation) is that the $udat with the
member_id has changed in the middle of sessions and that it got another
session from another
Hi,
> I have tried
> setting EMBPERL_SESSION_MODE 0x21 but this just doesn't do
> it, for some reason it seems to generate a new session_id
> everytime I visit the page,
Yes, when %sdat is used it generate a new session by design, because %sdat
keeps history. To pass the session id as a paramt
Hello Stefan,
The way I used to handle sessions was by creating a huge random number that
I would pass as a hidden field or in the query string. I would try to make
a mixture of characters and numbers so that it would be very difficult for
someone walking by to try to write down if they saw it
Hi!
I have some trouble which I asked the list awhile ago with sessions
without cookies. The trouble is that sessions works perfect when people
use cookies but for people that do turn off cookies everything is not
working so great. I have tried setting EMBPERL_SESSION_MODE 0x21 but
this just
Never mind. I wasn't changing the top level of the session hash. I added a timestamp
and that did it.
-Matthew
-Original Message-
From: Smith, Matthew
Sent: Tuesday, June 15, 2004 3:46 PM
To: [EMAIL PROTECTED]
Subject: Using Sessions with the XMLHTTPRequest object
I hav
I having a problem using a session object in an epl file that is requested via the
Javascript XMLHTTPRequest object (see
http://developer.apple.com/internet/webcontent/xmlhttpreq.html for details on that).
For whatever I can't access the correct session cookie, so I pass the session id of
the s
We would like to let a single desktop user to have multiple, concurrent,
independent sessions to our application.
If the browser of choice is Internet Explorer (V6.x at least), this seems
possible. While the session cookies all have the same name, the browser
seems to keep the separate across
>
> I've read the docs for sessions, embperl, README.v2, and spent days
> looking through old posts. Maybe I'm missing something obvious...
> I think I'm having problems with session manipulation using MySQL and
> %udat/SessionX. I'm using a simple test epl file:
>
embperl wizards,
I've read the docs for sessions, embperl, README.v2, and spent days
looking through old posts. Maybe I'm missing something obvious...
I think I'm having problems with session manipulation using MySQL and
%udat/SessionX. I'm using a simple test epl f
>
> I'm using Apache::SessionX as session manager for Embperl and running
> alot of pages in EmbperlBlocks syntax. If people don't have cookies I
> would like the sessionid to be set in the URL somehow (preferebly not
> using cgi params). Is there any people that have any input on this ?
>
Embperl
Hi!
I'm using Apache::SessionX as session manager for Embperl and running alot
of pages in EmbperlBlocks syntax. If people don't have cookies I would
like the sessionid to be set in the URL somehow (preferebly not using cgi
params). Is there any people that have any input on this ?
/S
--
ame of the parameters defualts to EMBPERL_UID and can e set with
EMBPERL_COOKIE_NAME
Gerald
> / Stefan
>
> -Original Message-
> From: Gerald Richter [mailto:[EMAIL PROTECTED]
> Sent: den 19 december 2003 05:52
> To: Stefan Cars
> Cc: [EMAIL PROTECTED]
> Subject:
: Cookie and Cookieless sessions
Stefan Cars wrote:
> What is the status of this, Gerald ? Is that implemented yet ??
>
> smodeUDatUrl = 4
>
> The session id for the user session will passed as a part of the
> URL. NOT YET IMPLEMENTED!!
>
No it's not implemented, but what y
am
(smodeUDatUrl would do something like //path/data.epl)
Gerald
>
> Kind Regards,
> Stefan Cars
>
> -Original Message-
> From: Gerald Richter [mailto:[EMAIL PROTECTED]
> Sent: den 2 december 2003 16:20
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: Coo
december 2003 16:20
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Cookie and Cookieless sessions
Hi,
>
> Basically what I want to do is to have standard cookied sessions,
> however if user doesn't support cookies then it falls back to
> cookieless sessions.
>
> Can I
Session will create a
new one with the correct owner
Gerald
> regards
> Patrick
>
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 5. Dezember
> 2003 13:01
> An: [EMAIL PROTECTED]
> Betreff: problem with sessions
: problem with sessions
hello guys,
my configuration:
Apache/1.3.26 (Unix) mod_perl/1.29
HTML::Embperl 1.3.6
Apache::Session 1.54
Apache::SessionX2.00b5
i'm using File Store and Semaphore Locking.
< httpd.conf --->
### log minimum + session output
during
global destruction.
[Fri Dec 5 11:47:54 2003] [warn] [5044]ERR: 32: Warning in Perl code:
(in cleanup) Can't call method "acquire_write_lock" on an undefined value at
/usr/local/lib/perl5/site_perl/5.6.1/Apache/Session.pm line 569 durin
Hi,
>
> Basically what I want to do is to have standard cookied sessions,
> however if user doesn't support cookies then it falls back to
> cookieless sessions.
>
> Can I
> a) Have both cookie and cookieless sessions running at the same time
> - if so how do I co
Hi all,
Basically what I want to do is to have standard cookied sessions,
however if user doesn't support cookies then it falls back to cookieless
sessions.
Can I
a) Have both cookie and cookieless sessions running at the same time -
if so how do I configure this.
b) Optionally pas
Hi,
>
> I wonder if I could ask you a couple of other questions?
Of course you can ask questions, but the right place to do this is on the
embperl mailing list.
> We are
> testing with the lastest stable release (1.3.6):
>
> 1) I had trouble opening/reading a file in a [- -] block in a
> templa
Hi,
>
> I wonder if I could ask you a couple of other questions?
Of course you can ask questions, but the right place to do this is on the
embperl mailing list.
> We are
> testing with the lastest stable release (1.3.6):
>
> 1) I had trouble opening/reading a file in a [- -] block in a
> templa
>
> I have an authenticated session for a browser window that is
> navigating the site built with Embperl::Object. I would like to use
> a popup browser window for a helper "applet". I would like to have
> the popup window safely share the session with the parent window.
> Not sure how to do that
I'm looking for some advice on how to do the following:
I have an authenticated session for a browser window that is navigating the
site built with Embperl::Object. I would like to use a popup browser window
for a helper "applet". I would like to have the popup window safely share
the session wi
Gerald Richter [mailto:[EMAIL PROTECTED]
>Sent: Saturday, November 15, 2003 2:59 PM
>To: Vijaya Dasari; [EMAIL PROTECTED]
>Subject: Re: Locks on sessions database
>
>Vijaya Dasari wrote:
>> Hi,
>>
>> We have problem with locking of rows in the session database
l 1.99_09
>
> I tried using MySQL as Store, but still the same problem.
>
>> 40 | sessions | localhost | sessions | Query | 313 | User lock |
> SELECT GET_LOCK('Apache-Session-30fac6623276e16798300d56c8de3989',
> 3600)
>>
>> 41 | sessions | localhost | s
Hi,
We have problem with locking of rows in the session database. We are
using postgres as the Store.
Configuration of the system is Apache 2.0.47 + Embperl 2.0b9 +
mod_perl 1.99_09
I tried using MySQL as Store, but still the same problem.
| 40 | sessions | localhost | sessions | Query
Posting here, since the original reply failed:
At 7:41 AM -0800 1/20/03, [EMAIL PROTECTED] wrote:
At 11:09 PM -0800 1/19/03, Hoenie Luk wrote:
Thanks for your suggestion. However, since I'm using a web hosting
service, I cannot alter the httpd.conf file. I tried to put
"PerlSetEnv EMBPERL_COOKI
tings, the state can also kept between multiple sessions." Can
any one tell me how to change expire settings to do this?
PerlSetEnv EMBPERL_COOKIE_EXPIRES date-goes-here
in the apache config file.
You should be able to use relative dates as well. I'm currently
using +2M on on
tiple sessions." Can any one
tell me how to change expire settings to do this?
Thanks.
..Hoenie
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
>tied(%session)->delete;
>[17175]ERR: 24: Error in Perl code: Can't call method "delete" on an
undefined
>value at /var/www/html/contact/autentication.epl line 93.
Looks like your session is not correctly setup. Use the Embperl %udat
session handling and tied(%udat) -> delete should work
Geral
Hi everybody, I'm so new in sessions staff and I'm trying to delete a session
with the following command:
tied(%session)->delete;
and I'm getting this:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to
complete your reques
Em Tue, 19 Nov 2002 15:38:12 +
Gerardo Schimpf <[EMAIL PROTECTED]> escreveu:
> Hello, I'm trying to use Sessions in embperl. I'm trying to see what
> is in the %session hash, more spesific i'm triying to print out the
> session_id ($session[_session_id]).
> My
Hello, I'm trying to use Sessions in embperl. I'm trying to see what is in the
%session hash, more spesific i'm triying to print out the session_id
($session[_session_id]).
My question is, how can I print out the session value?
Thanks in advance
My structure in the Mysql dat
>
> 1) the sessions keys for the new sessions are twice as long as the
> old ones. generally, this is a good thing, but i am concerned that
> the old session data will not get read when the cookie is submitted.
> will the old sessions get read and reused, read and new ones cre
cart data, affiliate reference data and things of that
nature.
i have found the sessions to be simple, quick, convenient and
a reliable way to maintain this transient data. the fact is,
the data is in there, and i need to migrate it to the new sessions.
i may redesign the system at a later time, but
> 1) the sessions keys for the new sessions are twice as long as the old
> ones. generally, this is a good thing, but i am concerned that the old
> session data will not get read when the cookie is submitted. will the
> old sessions get read and reused, read and new ones crea
Gerald Richter wrote:
> > OLD STUFF: redhat 5.2, 2.0.36 kernel, 1.3.6 apache, 1.21 mod_perl,
> > perl 5.005_02, apache session 1.04 and a storable of 0.63, embperl
> 1.2.b10,
> > file system sessions and locking data.
> >
> > NEW STUFF: redhat 5.2, 2.0.36 ker
> OLD STUFF: redhat 5.2, 2.0.36 kernel, 1.3.6 apache, 1.21 mod_perl,
> perl 5.005_02, apache session 1.04 and a storable of 0.63, embperl
1.2.b10,
> file system sessions and locking data.
>
> NEW STUFF: redhat 5.2, 2.0.36 kernel, 1.3.26 apache, 1.27 mod_perl,
> perl 5.6.1, a
OLD STUFF: redhat 5.2, 2.0.36 kernel, 1.3.6 apache, 1.21 mod_perl,
perl 5.005_02, apache session 1.04 and a storable of 0.63, embperl 1.2.b10,
file system sessions and locking data.
NEW STUFF: redhat 5.2, 2.0.36 kernel, 1.3.26 apache, 1.27 mod_perl,
perl 5.6.1, apache session 1.54, apache
>
> This didn't work, but
> $r -> session_id(undef);
> worked.
>
Yes, of course it a method
> While the 'EMBPERL_UID=...' is not inserted any more, the '?' still is.
>
Setting it to undef should also avoid the '?'. Don't know why this happens.
I have to look more deeply into that
Gerald
On Thu, Sep 26, 2002 at 10:24:25AM +0200, Gerald Richter wrote:
> > I am using cookie-less-sessions with Embperl-2.0b8. This works ok, but I
> > always have sessions, even if I didn't use %udat. I am trying to have a
> web
> > site that doesn't use sessions until
> I am using cookie-less-sessions with Embperl-2.0b8. This works ok, but I
> always have sessions, even if I didn't use %udat. I am trying to have a
web
> site that doesn't use sessions until you log in, then uses sessions and
> if you logout it gets rid of the session aga
I am using cookie-less-sessions with Embperl-2.0b8. This works ok, but I
always have sessions, even if I didn't use %udat. I am trying to have a web
site that doesn't use sessions until you log in, then uses sessions and
if you logout it gets rid of the session again. This seems to work
At 9:52 AM -0400 8/30/02, Kee Hinckley wrote:
>Turning on sessions I found that I had to go add a require MD5
>statement to Embperl.pm. Otherwise I got:
Never mind, I just read the release notes for 1.3.4
--
Kee Hinckley - Somewhere.Com, LLC
http://consulting.somewhere.com/
I'
Turning on sessions I found that I had to go add a require MD5
statement to Embperl.pm. Otherwise I got:
[Thu Aug 29 10:59:26 2002] [error] Can't locate object method
"hexhash" via package "MD5"
(perhaps you forgot to load "MD5"?) at
/Library/Perl/darw
;ve tracked the session id's and can see that my last session file
> still exists in my sessions directory. I can't see any pattern to this
> behavior - it seems to occur after about 10 requests or so.
>
Did you also see that the session id is comming in again? Set dbgSession in
E
>
> But when a broswer try a embperl page with %udat hash (for put cookies in
> browser) always embperl create a record in a Berkeley DB file.
>
> I undestand that is default for Apache::SessionX module, but how can setup
> Apache config file for support mysql, without change default in
installati
Hello,
I have installed a new server with embperl 1.3.4 and apache SessionX.
And I put this config in the httpd.conf server config file :
PerlSetEnv EMBPERL_COOKIE_NAME TXID
PerlSetEnv EMBPERL_COOKIE_PATH /
PerlSetEnv EMBPERL_COOKIE_EXPIRES 'Friday, 31-Dec-2010 14:00:00 GMT'
PerlSetEnv EMBPERL_
> I made some more adjustments after this was sent and I can't seem to
> reproduce the error. Based on your suggestion above on setting the
> dbgSession debug param I did see the sessions were being
> executed/created. My problem was that I was doing a "bad thing&q
> I have been trying various configurations, and noticed I am getting a
> Seg fault in the the log file so I ran httpd through gdb and got this:
> Program received signal SIGSEGV, Segmentation fault.
> 0x4040b5a6 in EMBPERL2_GetLineNo () from
> /usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/Embper
I have been trying various configurations, and noticed I am getting a
Seg fault in the the log file so I ran httpd through gdb and got this:
Program received signal SIGSEGV, Segmentation fault.
0x4040b5a6 in EMBPERL2_GetLineNo () from
/usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/Embperl/Embper
In rereading my last post I realized that I didn't give much informaiton
to go on. I am upgrading from HTML::Embperl 2.0b5 to 2.0b7 Embperl. My
setup was working correctly with Apache::SessionX prior to the upgrade
attempt. I have double checked the conf file and no SESSION values are
set t
"Gerald Richter" <[EMAIL PROTECTED]> writes:
> >
> > I have the following in my httpd.conf
> >
> >SetEnv EMBPERL_DEBUG 10477
> >SetEnv EMBPERL_VIRTLOG /embperl/log
> >
> >PerlSetEnv EMBPERL_SESSION_CLASSES "MySQL Semaphore"
> >PerlSetEnv EMBPERL_SESSION_ARGS "DataSource=dbi:mysql:
>
> I have the following in my httpd.conf
>
>SetEnv EMBPERL_DEBUG 10477
>SetEnv EMBPERL_VIRTLOG /embperl/log
>
>PerlSetEnv EMBPERL_SESSION_CLASSES "MySQL Semaphore"
>PerlSetEnv EMBPERL_SESSION_ARGS "DataSource=dbi:mysql:webdb" # I've
taken out the user and passwd
>PerlModule HT
I'm setting up a new web server with Apache 1.3.22, Embperl 1.3.4 and
MySQL 3.23.49.
When I access a page that tries to set a session variable I get the
following error back:
[Wed Mar 20 05:25:53 2002] [error] [20764]ERR: 24: Error in Perl code: Undefined
subroutine &Apache::SessionX::Generat
On Sun, 6 Jan 2002, Gerald Richter wrote:
>> If you use "File" you may do fine when there are 1000
>> files in your sessions directory, but will begin to
>> degrade speed as it increases. Perhaps there's a
>> subdirectory, index simulating approach I
>
> If you use "File" you may do fine when there are 1000
> files in your sessions directory, but will begin to
> degrade speed as it increases. Perhaps there's a
> subdirectory, index simulating approach I'm not aware
> of.
>
Apache::Session doesn'
> Hello, I am using version 1.3.4. I use EmbperlObj as
> well.
>
> RE: optAddUserSessionToLinks
is 0x100
> RE: optAddStatusSessionToLinks
>
is 0x200
You can find the values in embperl.h
It's not documentated, because I have started the implementation in 1.3.4,
but decided to not fi
ose.
If you use "File" you may do fine when there are 1000
files in your sessions directory, but will begin to
degrade speed as it increases. Perhaps there's a
subdirectory, index simulating approach I'm not aware
of.
If you use DB_FIle, does it load the whole file into
Hello, I am using version 1.3.4. I use EmbperlObj as
well.
RE: optAddUserSessionToLinks
RE: optAddStatusSessionToLinks
How do I assign these globally? I could not find the
bitmask approach so I don't know where to go from
there.
Also, thank you, Gerald, for your excellent work.
-Jarrod
___
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?
>
EMBPERL_SESSION_ARGS
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!
>
>
> 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
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
>
> I have a CGI forum that uses cookies to authenticate user.
> Now I wish to add some embperl pages that authenticate with %udat.
> I wish to change the CGI forum authentication method to embperl %udat like
> auth. method.
>
> How can I create, read, modify embperl session data from my CGI scrip
Hi!
I have a CGI forum that uses cookies to authenticate user.
Now I wish to add some embperl pages that authenticate with %udat.
I wish to change the CGI forum authentication method to embperl %udat like
auth. method.
How can I create, read, modify embperl session data from my CGI scripts?
What
-
- Original Message -
From: "alan milligan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 19, 2001 10:02 AM
Subject: Sessions
> Hi All,
>
> I have asked similar questions to this before, but I am not getting the
> d
Hi All,
I have asked similar questions to this before, but I am not getting the
desired behaviour out of my Embperl (2.0b3) sessions.
I have written my own PerlHandler for authorisation which uses Embperl, but
regardless of using it, each time I load a page, a new session object gets
written
>
> Are you saying that ALL of the EMBPERL_SESSION_[INSERT NAME HERE]
> variables are global?
>
Yes
EMBPERL_SESSION_CLASSES
EMBPERL_SESSION_ARGS
EMBPERL_SESSION_HANDLER_CLASS
are global
EMBPERL_COOKIE_*
are _not_ global and can be set different in different contexts (By setting
a different co
Gerald!
> That's dangerous, because you can't have different values for these
> configuration directives. They are global. (Yes that's something that should
> be changed sometime, but it isn't yet). If you have different values the
> session management get's initialized with the values from the
>
> > 1.) PerlModule HTML::Embperl
>
>
>
> > For 1., put the PerlSetEnv with the session vars, before the PerlModule
> > statment in your httpd.conf
>
> I have finally managed to get session management working; I used to have
> the EMBPERL_SESSION_CLASSES and EMBPERL_SESSION_ARGS in my session
plest thing is to add just after
> your push a
>
> $udat{dummy}++ ;
>
> Gerald
>
>
> >
> > Am still having a bit of a nightmare with my sessions. This is difficult
> to explain but here I go with an attempt - sorry that it's a long one...
> >
> &
Gerald!
> 1.) PerlModule HTML::Embperl
> For 1., put the PerlSetEnv with the session vars, before the PerlModule
> statment in your httpd.conf
I have finally managed to get session management working; I used to have
the EMBPERL_SESSION_CLASSES and EMBPERL_SESSION_ARGS in my without using a
a nightmare with my sessions. This is difficult
to explain but here I go with an attempt - sorry that it's a long one...
>
> On one page I have three frames.
>
> In the top frame I am filling and array in %udat with data and then
displaying a select box with the list of data
Hi
>
> Sorry about the delay to your original message - I have been travelling
for most of today
no problem...
>and am trying to narrow down the problem before wasting your time any
further.
>
.. that's even better!
> I get the following line in my messages file at startup:
> httpd-perl: [122
>
> Stupid question, but how do you make sure it's set BEFORE embperl is
> loaded?
>
You can load Embperl in three way (when using mod_perl)
1.) PerlModule HTML::Embperl
2.) in a startup file which is loaded via PerlRequire, you say use
HTML::Embperl
3.) you don't load it explicitly, the mod_per
Stupid question, but how do you make sure it's set BEFORE embperl is
loaded?
DSL
--
If we could extract all the evil from each of us,
Think of the world that we could create!
A world without anger, or violence or strife...
(From the Musical, Jekyll and Hyde)
Hi
>
> Sometimes I can retrieve data out of %udat, sometimes I can't. I tried
adding domain and path environment variables to no avail.
>
> PerlSetEnv EMBPERL_SESSION_CLASSES "MySQL Semaphore"
> PerlSetEnv EMBPERL_SESSION_ARGS "DataSource=dbi:mysql:webdata
UserName=mgmtsesh69"
> PerlSetEnv EMBPERL
Hi
Sometimes I can retrieve data out of %udat, sometimes I can't. I tried adding domain
and path environment variables to no avail.
PerlSetEnv EMBPERL_SESSION_CLASSES "MySQL Semaphore"
PerlSetEnv EMBPERL_SESSION_ARGS "DataSource=dbi:mysql:webdata UserName=mgmtsesh69"
PerlSetEnv EMBPERL_SESSION_
On Wed, 31 Oct 2001, Hans de Groot wrote:
> but before (first start ppm and then use set repository etc) I
> could search for session and then said install apache-session it
> failed with that message.. strange this works.. but I am happy :-)
That's great that it works ... I think to set up
Hi,
Sessions are working now. I used:
apache_1.3.22-win32-x86.msi
ActivePerl-5.6.1.629-MSWin32-x86-multi-thread.msi
and installed several pacheges (ie embperl apache session dbi dbd etc...) via ppm
and it is working now
I can see my site and sessions are actually doing what they should do
Hi,
I tied what you said and gues what.. it worked!! do not ask me why coz tonight is the
first time I use ppm..
I did this: ppm install http://theoryx5.uwinnipeg.ca/ppmpackages/Apache-Session.ppd
and it's installed now.
but before (first start ppm and then use set repository etc) I coul
On Wed, 31 Oct 2001, Hans de Groot wrote:
> Hi and thanks for the tip.
>
> I re installed active state perl and installed some packages (embperl 1.3.3)
> now I wanted to install apache session 1.53 from the url you gave me and
> I got this message:
>
> Packages available from http://theoryx5.uwin
1 - 100 of 194 matches
Mail list logo