[rochester-pm-list] Quick One...
Shawn Porter
sporter at rit.net
Wed Dec 29 07:29:43 CST 1999
Try this:
<input type="hidden" name="store_id" value="#session.storeid#">
or if they're using client variables:
<input type="hidden" name="store_id" value="#client.storeid#">
Reply to me, not the list, as this isn't a Perl thing. Enjoy.
--
Shawn Porter
http://www.rit.net/sporter
work - 716-223-3610 x116
home - 716-242-8742
sporter at rit.net
--
On Wed, 29 Dec 1999, Fred Edmister wrote:
> Thanks Brian... I was told that the variable is a "session variable" that
> stays with the browser untill it's closed... That part of the programming
> is being done in Cold Fusion, I'll get with them and see where the variable
> is held! Thank you!
>
> Fred
>
>
>
> At 05:55 PM 12/28/99 -0500, you wrote:
> >On Tue, 28 Dec 1999, Fred Edmister wrote:
> >> Please forgive me in advance for this one... I'm done with my perl script,
> >> and am debugging the form that sends the variable "store_id" through to the
> >> script... In the begining stages, it was a hard coded <input type="hidden"
> >> name="store_id" value="999999"> and now the variable is being sent as a
> >> session variable...
> >
> >What do you mean by "session variable"? A "session variable" is only a
> >concept, there is no structure called "session variable" that exists
> >separately from a regular variable. There are only 2 ways for a form to
> >send a variable to the server, through a form variable or a cookie.
> >Figure out how the session variable is stored, and read the cookie or form
> >var accordingly. Then it should be simple. :)
> >
> >> Here's my question... The variable name is "storeid"
> >> (purposly name differently from store_id as store_id is the variable in
> >> perl, and didn't want to confuse the two...) anyway, so <input
> >> type="hidden" name="store_id" value="storeid"> needs to reflect the
> >> variable... Does anyone have any ideas on what the value= line should say?
> >> I tried value=%storeid%, $storeid, #storeid# and a few others... :( I'm
> >> not an html person, and was hoping someone may know... I tried to find an
> >> HTML mailing list like this one, but couldn't... Thank you all in advance
> >> for any assistance you may be able to provide!
> >>
> >>
> >>
> >>
> >> Fred Edmister
> >> PK Communications
> >> CGI Web Developer
> >> fedm at pkcommunications.com
> >>
> >
> >--
> >Brian Mathis
> >Direct Edge
> >http://www.directedge.com
> >
> >
> >
>
More information about the Rochester-pm
mailing list