Re: Setting request.GET when sending an HttpResponse

2008-02-15 Thread mario
Malcom, thank for you help. That was the hint I was looking for. I got the idea and I'll now keep working from it. On 14 Feb, 10:59, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Thu, 2008-02-14 at 01:28 -0800, mario wrote: > > Etienne, thanks for answering, > > > > I believe you got this

Re: Setting request.GET when sending an HttpResponse

2008-02-15 Thread mario
As Malcom said, I wish to avoid as much as possible session data. In fact, the user wouldn't be able to bookmark the query that (I think) might become very userful as he familiarize with the application. Thanks anyway for you help. --~--~-~--~~~---~--~~ You

Re: Setting request.GET when sending an HttpResponse

2008-02-14 Thread Malcolm Tredinnick
On Thu, 2008-02-14 at 01:33 -0800, shabda wrote: > Umm, if you want to persist state across HTTP requests, why not use > session? One reason is that sessions aren't bookmarkable. RESTful design calls for using URLs intelligently and not hiding a lot of stuff behind a cookie, where it's not

Re: Setting request.GET when sending an HttpResponse

2008-02-14 Thread Malcolm Tredinnick
On Thu, 2008-02-14 at 01:28 -0800, mario wrote: > Etienne, thanks for answering, > > > I believe you got this wrong a little. A HttpResponse object doesn't modify > > the query string. That should be done in your form markup, > > or even in a javascript file, in case you want to do it

Re: Setting request.GET when sending an HttpResponse

2008-02-14 Thread shabda
Umm, if you want to persist state across HTTP requests, why not use session? On Feb 14, 2:28 pm, mario <[EMAIL PROTECTED]> wrote: > Etienne, thanks for answering, > > > I believe you got this wrong a little. A HttpResponse object doesn't modify > > the query string. That should be done in your

Re: Setting request.GET when sending an HttpResponse

2008-02-14 Thread mario
Etienne, thanks for answering, > I believe you got this wrong a little. A HttpResponse object doesn't modify > the query string. That should be done in your form markup, > or even in a javascript file, in case you want to do it programmatically. Yes, I understand that a HttpResponse cannot

Re: Setting request.GET when sending an HttpResponse

2008-02-13 Thread Etienne Robillard
I'll try to help ya a little... > I receive a request via GET and, based on request.GET, I generare a > result and send a HttpResponse. However, when sending the response, > I'd like to set additional parameters in the query string. > > For example, suppose I receive the following request: > >

Setting request.GET when sending an HttpResponse

2008-02-13 Thread mario
It seems to me that I'm asking something verys obvious. However I couln't find and example anywhere for solving my problem. Here it goes... I receive a request via GET and, based on request.GET, I generare a result and send a HttpResponse. However, when sending the response, I'd like to set