Hello, I`m reimplementing my old embperl session class to SessionX and I
have several questions:
1) I don`t see the differences between create_unknown and recreate_id. Are
they same?
2) when newid is set, is data cleaned or let untouched when the new id is
generated?
3) the string passed in the
Hi all,
>
> I'm trying to use de EMBPERL_OBJECT_FALLBACK feature to return custom
> error messages but after I restart apache everything remains the same,
> with the apache 404 error appearing.
>
> in httpd.conf:
> ...
> PerlSetEnv EMBPERL_OBJECT_FALLBACK 404.html
> ...
>
Are you using EmbperlObj
>
> Nope, nothing except that line (and an email from the customer
complaining).
>
Does it normaly work ? Any chance to reproduce it ? If yes, does it only
occur with a special browser ?
> Anywhere I could put some code for extra logging?
>
You can take a look at the CGI.pm docu if there is any
> Hello, I`m reimplementing my old embperl session class to SessionX and I
> have several questions:
>
> 1) I don`t see the differences between create_unknown and recreate_id. Are
> they same?
>
Recreate_id creates a _new_ id if the given one does not exists
create_unkonw cause Apache::SessionX
>The data is let untouched. The idea is to have a unique id for every
>request, which makes it possible to keep track on session data even if the
>user hits the back button.
So the data are copied to new session record and returned?
This is a bit strange. Every request you add one record... I use
> >The data is let untouched. The idea is to have a unique id for every
> >request, which makes it possible to keep track on session data even if
the
> >user hits the back button.
> So the data are copied to new session record and returned?
>
Yes, this is only done when you use %sdat, which is ne
Hi,
>
> [Wed Aug 22 18:09:53 2001] [error] Can't locate loadable object for module
>
> Apache::Constants in @INC (@INC contains: /u
for the first look, it seems that you have missed to say make install in the
mod_perl directory. Is this possible ?
Gerald
---
>Recreate_id creates a _new_ id if the given one does not exists
Can you explain the following piece of code then:
if (!$self->{data}->{_session_id} || $self ->
{'args'}{'recreate_id'})
It is taken from Session.pm (what I`m learning from).
Why you use OR (||) here? This should by AND (&
> >Recreate_id creates a _new_ id if the given one does not exists
> Can you explain the following piece of code then:
>
> if (!$self->{data}->{_session_id} || $self ->
> {'args'}{'recreate_id'})
>
> It is taken from Session.pm (what I`m learning from).
>
> Why you use OR (||) here? This
Where is the method 'SetupSession' called from?
My SessionX class is already done, but SetupSession is never called (and the
new id cookie is never sent).
Regards
Lukas Zapletal [[EMAIL PROTECTED]]
BACH systems Ltd. [www.bach.cz]
web programmer
10 matches
Mail list logo