[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: Using the browser back button and updating an item-list
Thank you Patrick and Lee for your suggestions. I think I'll take you guys'
suggestions and not worry about making that feature happen. I tell you, it's
easy to get hung up on some - ulimately trivial - feature that would be
nifty and waste a WHOLE LOT of time trying to get it to work.
Which got me thinking on a not-strictly-minivend tangent, I wonder if there
will be some sort of W3 spec in the future for a frames kind of setup within
a web page, but without the frames? That is, being able to load a distinct
URL within some specified coordinates on a web page, like [import] but the
functionality takes place on the client's browser. T'would be sort of cool.
Back to minivend, there is still one more thing I really want to get
working, but am sort of stuck. I don't know if my problem is the code I'm
using or the ancient test box on which I have minivend running. I give the
users the opportunity to log in on every page, like the "simple" catalog,
but the problem is that I don't want the users to go to ord/basket when they
log in. I just want the page they're on to refresh. No problems, except for
results.html. Either my test box is choking on this code because it is too
much going on for a 486w/32 ram to handle, or my coding solution is screwy.
Does anyone out there have users log in on a results page, and then have
that page returned on log in? What does the code look like? Here is what I
am trying at the moment (returns an internal server error):
[else]If you have an account with us please login.
[set Login]
mv_todo=search
mv_searchspec=[value mv_searchspec]
[userdb login]
[/set]
[if session failure]
[data session failure]
[/if]
<FORM ACTION="[process-target]" METHOD=POST>
<INPUT TYPE=hidden NAME=mv_click VALUE=Login>
<div align="center"><B>Username:</B><BR>
<INPUT MAXLENGTH="14" NAME="mv_username" SIZE="12" VALUE="">
<BR><B>Password:</B><BR>
<INPUT MAXLENGTH="14" onChange="this.form.submit()" NAME="mv_password"
TYPE="password" SIZE="12">
<INPUT TYPE=submit VALUE="Log In">
</div>
</FORM>
I also tried this:
<FORM ACTION="[process-target]" METHOD=POST>
<INPUT TYPE=hidden NAME=mv_click VALUE=Login>
<INPUT TYPE=hidden NAME=mv_doit VALUE=return>
<INPUT TYPE=hidden NAME=mv_nextpage VALUE="http://URL/cgi-bin/store/[data
session last_search]">
But I got the minivend "This page is under construction" message. Thanks for
any suggestions,
Miles
_______________________________________________________________
Get Free Email and Do More On The Web. Visit http://www.msn.com