Re: How to troubleshoot session handling?

2005-04-20 Thread allen haim
Hi, OK, I've looked in /tmp, and I see a file with the same name as the _session_id key in %udat. Looking in that file, I see some control characters throughout, I see my data in plain text, (just 'allen' and 'hello') and I see the session id. Now what? Allen On Mon, Apr 18, 2005 at 09:11:45

Execute question

2005-04-20 Thread allen haim
Hi, How do I abort the flow of my current Embperl page and bring up a different Embperl page? If I use Execute, it puts the other page inside the calling page, but I would like to discard the calling page entirely and just bring up the new page. Do I use Execute for this or something else? Than

make test in Embperl-2.0rc3

2005-04-20 Thread Soltan Safavi
Hi, I am trying to install Embperl-2.0rc3, "make test" shows a few errors when testing mod_perl mode Testing mod_perl mode... #0 ascii... ok #1 pure.htm...ok #2 nooutput.htm...ok #3 nooutput.htm...ok #4 plain.htm... ok #5 pl

Re: How to troubleshoot session handling?

2005-04-20 Thread ___cliff rayman___
allen haim wrote: OK, I've looked in /tmp, and I see a file with the same name as the _session_id key in %udat. Looking in that file, I see some control characters throughout, I see my data in plain text, (just 'allen' and 'hello') and I see the session id. ok - so embperl is able to write the

Re: How to troubleshoot session handling?

2005-04-20 Thread allen haim
Hey, what do you know? It works now. Thank you Cliff. Instead of SetEnv I used PerlSetEnv, and for the cookie path I used /tmp. Now the big question: how come I never had to do this before? It used to work just fine without those variables in the .conf. Allen On Wed, Apr 20, 2005 at 03:13:19PM

Actually, no it doesn't

2005-04-20 Thread allen haim
Uh wait, scratch that; it still doesn't work. After I made those changes I browsed to my application and noticed the data was being saved, so I looked in the cookie manager and saw the cookie. But now, no more. Nor does the wget -S on the simple example return the right headers. So I'm still stu

Re: How to troubleshoot session handling?

2005-04-20 Thread ___cliff rayman___
allen haim wrote: Instead of SetEnv I used PerlSetEnv, and for the cookie path I used /tmp. EMBPERL_COOKIE_PATH is not the "storage" path, you specify that when you set-up SessionX. EMBPERL_COOKIE_PATH is the website path. So unless you send things to http://www.netherrealm.net/tmp/hello.htm

RE: Execute question

2005-04-20 Thread Andrew O'Brien
Allen, That's all up to how you structure your page construction. You will need to either 1. Easier: be able to test for that branch condition early enough in your page construction and then have the two Execute()s in a wrapping "if" statement Or 2. take advantage of the fact that Execute can