Sounds like you are sending a Pragma No-Cache or some such header telling it
to expire immediately.
Maybe do something like
$http_headers_out{'Cache-Control'} = 'max-age=900, private,
must-revalidate, s-maxage=900, proxy-revalidate'
;
max-age/s-maxage = seconds to live in cache
Bill "Elvis"
This is a question about the design of Embperl pages in which one page
includes several views, showing the successive steps in a process.
For example, one structural design I use frequently is a multi-step search
page. In VERY abbreviated form, it looks like this (it helps to read from
the bot
Hello all,
I'm not sure if this is could be a slight error in EmbperlObject itself
or it is just a matter of style.
in the base.epl file there is the command [- Execute("menu.epl") -]
whie produces the error
[warn] [3725]ERR: 32: Line 40: Warning in Perl code: Embperl path
search /path/to/file/
How create corect expiration by time.
ôÏÅÓÔØ There is system of monitoring and there is necessary do so if user
did not update any page during 30 mines, that force its once again do logon.
That have charge of time lifes of session?
How check this variable and set this variable in runtime?
Thank
Hi,
The way we usually do it is with 2 embperl files -- 1 for code and one for
layout. The code file loads all the data and then calls the other.
For example:
index.epl:
[-
use DBI;
foreach $key (keys %fdat){
#handle form input
}
#load database
Hi,
with the Template thread going on and me looking for a suiting
solution of separating site code from site layout, I'd like to ask
you for examples how you do that with Embperl.
The embedding of Perl into HTML makes it possible to use Perl in the
way PHP does things. That's a great gain compa
Gerald Richter schrieb am Sun, 10 Jun 2001 12:57:08 +0200:
> DBSeq is to emulate sequences on databases that doesn't support
> squences (e.g. mysql). Pg have sequences, so I don't see a need to
> use DBSeq here.
You're right.
I thought that generally using DBSeq would be a portability plus. But