RE: design question

2001-06-15 Thread Bill \"Elvis\" Gibbs
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"

design question

2001-06-15 Thread Michael Boudreau
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

Error Message Produced by EmbperlObject

2001-06-15 Thread Akshay Arora
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/

Expiration

2001-06-15 Thread Sergey Merkuriev
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

RE: Separating code from layout

2001-06-15 Thread Jack Cushman
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

Separating code from layout

2001-06-15 Thread Jochen Lillich
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

Re: DBIx::Recordset::DBSeq

2001-06-15 Thread Jochen Lillich
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