[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cgiapp] Hidden variable or Query String or Form for run mode access?


Hi,

   Thanks for all your responses. I agree I am making this easy thing
look difficult. I really am not able to give a rational explanation for
why I did not want to use forms except maybe I wanted to satisfy my
curiosity of whether this could be done without either approach.

   In any case, after I had posted my initial query, I discovered I
will have to use forms for the simple reason that I am going to use
Data::FormValidator for my validations. I tested that out without forms
and it freaks out. So forms it will be for me.

   I can't thank all of you enough for the speed and quality of your
responses. It has really helped me stand up on my 'Perl' feet.

Thanks,
Sharad

   



--- "Mark A. Fuller" <suppressed> wrote:

> From: Kasturirangan Rangaswamy <suppressed>
> >
> >    a. Now, I know I could call my instance script and pass it the
> mode-param variable along with an appropriate value
> >       but I dont like the idea of a query string on my browser
> address
> line.
> >
> >    b. Also, I have not been using forms and dont want to if I can
> get
> away with that!. So 'POST' is not an option either.
> 
> If you are using session tracking, you could save the visitor's state
> (which "continue" they were on, which they were going to) in your
> local session cache. Look it up with each revisit by the user. But,
> you'd probably use cookies for passing the session ID back and forth.
> If so, you'd probably need to write your program so that it
> accomodates visitors who prefer not to use cookies. In which case you
> would pass the session id as a parm on the URL (violating your desire
> in #a above).
> 
> Your dislike of parms on the URL seems irrational to me. If you used
> cookies on your site, you'd eventually (if you're a friendly site)
> pass the tracking id on the URL. I also don't know why you don't want
> to use a form. You said you're using forms in other places. What's
> wrong with using one just to get a "continue" submit button? It seems
> like you're needlessly making this difficult.(?)
> 
> Mark
> 



		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com 

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.