Re: cgi-script to handler communication [MP2]

2003-01-17 Thread Vishal Verma
On Thu, 2003-01-16 at 20:51, Stas Bekman wrote: > Vishal Verma wrote: > > I am implementing a login/logout mechanism. The user can't access any > > page till he logs in. That is any attempt to access pages without > > logging in will be redirected to the login screen. I have successfully > > implem

Re: cgi-script to handler communication [MP2]

2003-01-16 Thread Nick Tonkin
Umm, sanity check: You _have_ checked out the many packages and modules that do just this under mod_perl, haven't you? On 16 Jan 2003, Vishal Verma wrote: > > Though it's probably not as fast as adjusting the headers via the api in > > the response handlers. However since you aren't telling wha

Re: cgi-script to handler communication [MP2]

2003-01-16 Thread Stas Bekman
Vishal Verma wrote: Though it's probably not as fast as adjusting the headers via the api in the response handlers. However since you aren't telling what you are trying to do I can't give you a better advice. Here's what I'm trying to do: I am implementing a login/logout mechanism. The user c

Re: cgi-script to handler communication [MP2]

2003-01-16 Thread Vishal Verma
> Though it's probably not as fast as adjusting the headers via the api in > the response handlers. However since you aren't telling what you are > trying to do I can't give you a better advice. Here's what I'm trying to do: I am implementing a login/logout mechanism. The user can't access any

Re: cgi-script to handler communication

2003-01-16 Thread Stas Bekman
[Please mention mp2 in the subject/body of the message so we don't have to guess what version you are talking about] a. How can I communicate a value from my cgi-script to a mod_perl handler. I know you can pass values from handlers to cgi-scripts using $r->args and environment variables. But, wh

cgi-script to handler communication

2003-01-16 Thread Vishal Verma
Hi, I have two questions: a. How can I communicate a value from my cgi-script to a mod_perl handler. I know you can pass values from handlers to cgi-scripts using $r->args and environment variables. But, what if I want to pass a value from the cgi-script to a handler? It's obvious that the handle