uShop English (U.S.) for 179!

uStorekeeper English (U.S.) for 149!

 Tech Support
       Support Policy
       Knowledge Base
       Reference Sites
       Software Piracy
       Legal Notices
       Privacy Policy
       Reseller Info
       Contact Us
       Site Map
Order reader

Knowledge Base Lobby : uShop Support Conference : General Questions
Mar-23-18 07:00 AM EST
Original Message
Order reader
Author marcel emmen on 07-04-2001 at 09:12 (EST)
Hi there,

If i read a order from with the order reader then after reading i want to go back to delete the order. Unfortunatally the page is always expired!

Is it not possible to open a new window when the order read or read all button is click?>



Table Of Contents
  Re: Order reader Joseph Pishgar, 2001-07-05 11:01:34 (1)
  RE: Order reader Bill Weiner, 2001-07-08 22:41:16 (2)
            back button Ron Stewart, 2001-07-09 22:22:09 (3)
                 RE: back button Bill Weiner, 2001-07-15 23:14:12 (4)

Messages In This Discussion
         1. Re: Order reader
        Author Joseph Pishgar on 07-05-2001 at 11:01 (EST)
Hello Marcel,

The browser's "Back" button tends to mess things up a bit when logged into the control panel. The control panel's back buttons should be used to navigate, to prevent that "page expired" error. Currently you cannot access the order files outside of the Order Reader though. (outside of the actual order data files on your server).

Hope this helps.

Joseph Pishgar
Microburst Technologies, Inc.
         2. RE: Order reader
        Author Bill Weiner on 07-08-2001 at 22:41 (EST)
That "Page has expired" message is related to some setting on your browser. Unfortunately, I do not know which one... but I can say that if you get the error message, then you'll get it when you use your browser's "Back" button on any secure CGI generated HTML page (ie. it's not uShop specific). The recommended thing to do here... as Joseph mentioned ... is to just use the control panel's Back button.
                 3. back button
                Author Ron Stewart on 07-09-2001 at 22:22 (EST)
I, too get annoyed at this. Sometimes it happens and sometimes it doesn't. You say to use the control panel's back button, but there is no back button if you are reading orders. Only on the order reader page. Can a back button be put on the page that actually displays the order(s)?


                         4. RE: back button
                        Author Bill Weiner on 07-15-2001 at 23:14 (EST)
The reason a "Back" button wasn't added to the actual order reader output page... was because we didn't want the button to be printed when printing out the order.

The easiest thing to do is to just figure out what setting on your browser controls how long "https" pages stay in you're browser's cache, but if you really want to add the back button, here's some instructions:

STEP 1: Make a backup of your current script.

STEP 2: Open your script with any text editor such as WordPad.

STEP 3: Do a search on the following line in order to get to the start of the subroutine that displays the order files:

sub display_order_file

STEP 4: Near the bottom of that subroutine... directly after the line:

$order_footer = &get_cart_html();

Add the following lines:

$order_footer .= "XBRY";
$order_footer .= "XFORM ACTION="" . $secure_script_url . "" METHOD="POST"Y";
$order_footer .= "XINPUT TYPE="hidden" NAME="command" VALUE="cp_order_reader"Y";
$order_footer .= "XINPUT TYPE="hidden" NAME="password" VALUE="$password"Y";
$order_footer .= "XINPUT TYPE="submit" VALUE="$lang_back" WIDTH=150 HEIGHT=30Y";
$order_footer .= "X/FORMY";

NOTE THAT in the above code, I had to replace all less than signs with capital X and all greater than signs with capital Y. I did this because this forum doesn't allow you to enter greater-than and less than signs. So just replace those when you add the code.

STEP 5: Save the file (as TEXT if your editor asks) ... and try it out!

© 2003 Microburst Technologies, Inc.