OS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
---
> -Original Message-
> From: Tony [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 30, 2005 7:14 AM
> To: [email protected]
&
I guess I am missing something of the basics here, and this is why I am
asking for help. Here is my simple test case:
---> file1.html <---
[-
$udat{foo} = 'bar' ;
-]
Click here to load next page.
> file2.html <---
foo = [+$udat{foo}+]
---> base.epl <---
[- Execute('*') -]
Observed
>
> I just tried to apply the patch and had two issues:
>
> * I don't have a podsrc/Config.spod, so it couldn't apply the
> patch.
> I'm guessing this is no big deal. I'm using the
> Embperl-2.1.0 installation tree.
>
Yes, this is only in the svn source and used to build Config.pod
> * A
to patches.
-Derrick
On Dec 9, 2005, at 4:00 PM, Gerald Richter wrote:
Hi,
Enabling dbgSession has illuminated the problem. The date
calculation seems to be made at the time the server starts
up, not at the time the cookie is sent. I used grep to look
at all the cookies that have been sent
Hi,
> Enabling dbgSession has illuminated the problem. The date
> calculation seems to be made at the time the server starts
> up, not at the time the cookie is sent. I used grep to look
> at all the cookies that have been sent in the last week, and
> they all have the ex
file to read "+1d" but still no good. Even though it
said +1d, I was getting cookies that either would expire
within 10 mins or had already expired.
Could you please do the following test:
Edit test/conf/httpd.conf.src, goto line 153 and add the line
Embperl_Cookie_Expires +1d
Now r
;+1d" but still no good. Even though it
> said +1d, I was getting cookies that either would expire
> within 10 mins or had already expired.
>
> Now, I have had problems with my system clock losing time.
> At one point it was more than 30 mins behind. I have since
> attem
t;
Embperl_Cookie_Path /secure
Embperl_Cookie_Expires "+12h"
Embperl_Cookie_Secure 1
Do you have any chance to sniff the network traffic (e.g. with
ethereal) and
see if the cookies are really not sent at all?
You may also compare the request/response to the a request which works
Gerald
I finall
Forgive the daft question, but are the cookies only
failing to be set on Internet Explorer 6 ?
It could be that some of the users have Medium high or
High Privacy settings, and you're not sending a P3P
header.. so Internet explorer just ignores the set
cookie Headers...
Just a thought..
Re
below
>
> Embperl_Cookie_Name "MySecureCookie"
> Embperl_Cookie_Path /secure
> Embperl_Cookie_Expires "+12h"
> Embperl_Cookie_Secure 1
>
Do you have any chance to sniff the network traffic (e.g. with ethereal) and
see if the cookies are really not sent at all?
You ma
I'm having an issue where sometimes the cookie is not being set on
the client. If you do a graceful restart of apache and then try
again, the cookie is set. What's even more strange is that not all
clients are having this problem, but the ones that do will have the
problem consistently un
Hi,
Thanks for the feedback.
>
> It makes sense -- if the headers are sent early, they don't
> know about the session info yet. Still, maybe a little
> warning in the doc under 'optEarlyHttpHeader' that it will
> disable session management would be very helpful to those of
> us who are still
Hey, it works again! Thanks Cliff and Gerald.
At some point, I added the line
PerlSetEnv EMBPERL_OPTIONS 16384
to my conf (i.e. optEarlyHttpHeader)
I don't know why I thought I needed this. I have just deleted that line, and
everything works again.
It makes sense -- if the headers are sent ea
Hi Gerald,
>
> I've sent messages to the list about this problem but I am
> still stuck, and I can't deliver my application like this.
> Cliff Rayman tried to help but his advice didn't work.
>
> Session management has simply stopped working -- it used to
> work, and now it doesn't. In the sim
>
> 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 th
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
>
> Is this an IE problem or my code is wrong?
>
Your code seems ok, I would suggest to set the option that IE should ask
always before accepting a cookie, then you can click on details and see what
you get send.
Gerald
> Andrew
>
> ++
> my $cookie1 = cookie(-na
Hi. This might be a off-topic for this list but anyone knows anything about
this?
I sent cookie using the code below. (You see anything wrong?)
But the cookie are not seemed to be expired after 10 minutes.
I could confirm that it get's expired well on netscape but not on IE.
Is this an IE proble
>
> It sounds like you've got a very short expiry time on your cookie from
> within Embperl. The three variables that govern the cookie settings
> are:
>
> EMBPERL_COOKIE_DOMAIN
> EMBPERL_COOKIE_PATH
> EMBPERL_COOKIE_EXPIRES
>
Additional note: When EMBPERL_COOKIE_EXPIRES is not set (which is the
es not work coz it apaears the session is reset after a
> close (or restart) of the browser.
>
> Any suggestions how to do this? is it possible at all? or do I
> really need to use normal cookies (set the manually), I prefer to
> use $udat if possible.
It sounds like you've got a
do this? is it possible at all? or do I really need to use
normal cookies (set the manually), I prefer to use $udat if possible.
Thanks
Hans de Groot
--
Hans de Groot
Interspective Internet Services B.V.
Tel: +31 (0) 30 6001180
Fax +31 (0) 30 6044204
www: http://www.interspective.nl
>
> Ah! I do not understand one thing: What should I return in the 3rd
parameter
> (modified flag) when I do not want to use Apache::Session
(Embperl::Session
> returns some Apache::Session constant)?
>
Return a non zero value if the data inside your session hash has been
modified during the requ
> I`m coding session handler and I noticed that EP under CGI on my PWS 4
> doesn`t call SetSessionCookie. Why? Is it a bug?
>
It's handled in the C code. SetSessionCookie is only there if you want to
Set the SessionCookie from outside (e.g. from another handler).
The C code call the getids fun
I`m coding session handler and I noticed that EP under CGI on my PWS 4
doesn`t call SetSessionCookie. Why? Is it a bug?
lzap
Regards
Lukas Zapletal [[EMAIL PROTECTED]]
BACH systems Ltd. [www.bach.cz]
web programmer
-
To unsub
> If however I close MSIE, remove the cookie from the harddisk, reboot the
client computer, start-up >MSIE and start browsing my web-site again I don't
receive a cookie and the session handling doesn't >work. When I exit the
browser there is no cookie in directory where it should have been stored.
I'm using Embperl
together with Apache::Session. I'm running into a problem I don't
understand and it might be Embperl related, or mod_perl, or apache or
MSIE or
I'm developing a
web-site and would like to use session handling in Embperl. Setting the cookies
usu
ly set can set one http header with the same name. You have to
use the table API and the add method. See "perldoc Apache::Table"
>
> 3) EMBPERL_COOKIE_*
> I've correctly set in my httpd.conf these vars using 'PerlSetEnv'.
> They are in the %ENV of HTML page but ..
I'm novice to Embperl. Till now I've used PHP3 but I want to use Perl
(great !)
I know the feature of Embperl Session Management (using Apache::Session)
but I need to set multiple cookies in a single HTML page and I don't
want to use Session Management.
But settings multiple cooki
>I use http://$ENV{'HTTP_HOST'}/
>
>Is better http://$ENV{SERVER_NAME}/ or more correct ?
HTTP_HOST works only if the client sends a http Host header and uses
whatever the clients has send, while SERVER_NAME uses the server name
configured in your httpd.conf, so it works always. (That's what Ap
thanks Gerald,
I probe that after sent email, and work fine ...
I use
http://$ENV{'HTTP_HOST'}/
Is better http://$ENV{SERVER_NAME}/ or more correct ?
Bye
At 05:26 12-09-2000 +0200, Gerald Richter wrote:
>
> Is possible check if browser allow cookies when use %udat hash ?
>
> Is possible check if browser allow cookies when use %udat hash ?
>
>
> How can check if user had accept cookies in Embperl ?
>
I don't have tested this, but I think the following should work:
The first page looks like:
[-
$udat{test} = 1 ;
# redirect to ano
Is possible check if browser allow cookies when use %udat hash
?
How can check if user had accept cookies in Embperl ?
Thank in advance
Mario F. Toro
Gerente Desarrollo
E-Mail : [EMAIL PROTECTED]
Telefono : +(56)-2-2368138
Fax : +(56)-2-2368139
Http://www.DeveTel.cl
DeveTel
10 14:00:00 GMT'
--
___cliff [EMAIL PROTECTED]http://www.genwax.com/
mtoro wrote:
> It is possible to maintain the state of cookie when browser exit,
> fornext connection ?Or the cookies creates with "udat" exist only
> while browser is runn
It is possible to maintain the state of cookie when browser
exit, for
next connection ?
Or the cookies creates with "udat" exist only while
browser is running ?
Thanks in advance
-
To unsubscri
>I hope this isn't a question you've answered 100 times already... :)
>
No, you are the first one asking this...
>I have written a mod_perl content handler which calls &execute
>(effectively it automatically does the page frame), and found that when
>Embperl is used this way it won't set the
>
> FYI, turns out I have EmbPerl 1.3 b2 and mod_perl 1.22. So it seems this
> behavior is rather unexpected from these versions, eh?
>
Yes
Gerald
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [E
>
> I am not in a place where I can ssh to the machine on which I was having
> the problem, so I will followup to this post tomorrow with a more
> confident
> answer. However, I thought I was using the latest stable version, 1.2.1.
>
Another thing comes to my mind. Do you have compiled mod_perl
At 06:04 AM 5/2/2000 +0200, Gerald Richter wrote:
>I agree to you that there is no reason to not include it in Embperl, other
>than the time it takes to do so. I put it on the TODO list (but there are
>already I lot of things todo). Anyway you are free to send me a patch and I
>will be happy to i
Hi,
>
>
> >gerald's logic (probably, I can't speak for him :) is that there
> >should be no need for cookies - just use the %udat hash instead.
> >this eliminates the need for session-cookies, but there might still
> >be a need for saved (with Expire date
Hi Indrek,
Thanks for the feedback.
At 03:51 PM 5/1/2000 -0500, indrek siitan wrote:
>gerald's logic (probably, I can't speak for him :) is that there
>should be no need for cookies - just use the %udat hash instead.
>this eliminates the need for session-cookies, but ther
Hi,
> I have looked through the FAQ, the docs and what I have received
> so far on this list and I am still unclear on how to /read/
> cookies in EmbPerl. I do know how to send them. I can also read
> them with CGI.pm within EmbPerl, but surely there must be a way
> to do t
I have looked through the FAQ, the docs and what I have received so far on
this list and I am still unclear on how to /read/ cookies in EmbPerl. I do
know how to send them. I can also read them with CGI.pm within EmbPerl, but
surely there must be a way to do this directly in EmbPerl. Anyone
;Can anyone point me to a sample on using Embperl cookies ... or may be to
> the link in the mailing archive if any !.
>
> Thanks
>
> Gopi
Regards,
Wim Kerkhoff, Software Engineer
NetMaster Networking Solutions
[EMAIL PROTECTED]
Hi All,
Can anyone point me to a sample on using Embperl cookies ... or may be to
the link in the mailing archive if any !.
Thanks
Gopi
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
44 matches
Mail list logo