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

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


Hi,

    I am sequentially accessing 4 run modes. 

    At each run mode, I give the user a screen, perform some
validations and move on to the next mode(screen).
    The screens are displayed using HTML::Template

    I am declaring a hidden HTML variable in each screen as follows

    <INPUT TYPE=HIDDEN NAME='rm' VALUE='<TMPL_VAR
NAME='run_mode_value'>'>

    and am setting it's value in my Perl subroutine.

    Now, I actually constructed a 'Continue' link on each screen to
move to the next one like so:

    <a href="">Continue</a>

    and find that this overrides the mode-setting thats happening in my
Perl program. So inspite of my specifying a 
    mode in my sub, on clicking Continue, I am still taken to whatever
place the href="" takes me to.

    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.

    Question is, if (a) and (b) are excluded, is any other way possible
for me to use 'Continue' (as a link) and a hidden
    variable to move to the next mode. Is there something in that HREF
link I may be missing?

    Any help is appreciated.

Thanks,
Sharad


   


		
__________________________________ 
Do you Yahoo!? 
All your favorites on one personal page ? Try My Yahoo!
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.