[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: IP Address & session ID.
On 1 Sep, MHP Systems wrote:
> ****** message to minivend-users from MHP Systems <jgarcia@mhp.es> ******
>
>>
> Hi!
>
> I'm using minivend. I need to write a cgi script (perl or
> whatever) tble to answer to the call of the bank program.
>
> The bank program will call my cgi and give it the session
> ID and the store. It is supposed that my cgi program has to give
> back the contents of the shopping cart for the given session id.
>
>
> I've been tryng to get basket information from another machine, using the
> same session ID. I'm not able to get tne information on the basket. It
> seems that minivend is also using the IP address to distinguish between
> users. Am i right? In fact I don't really know what's happening, but I
> would like to be able to retrieve information from the basket
> using a normal perl cgi (that gets, via post, the session ID).
>
> I've been trying lots of things. Is there an easy way to
> do it in minivend? I have also tried to use dump, but it's so
> tedious. Is there a way to get basket information using dump, without
> having to parse the text result?
>
> Lots of thanks
> Julio Garcia
Hello Julio,
see into the mailarchiv and search for "Fetching CGI QUREY_STRING" from
Robert Barta! There is a hint how to get the contents of the shopping
cart.
Regarding the ID, you have to use [data session id] by minivend. Give
another machine this ID and another Machine have to use this ID to call
MV.
The code from Robert Barta work well in my shop.
Joachim
--
Hans-Joachim Leidinger
buch online jojo@buchonline.net
Munscheidstr. 14 FAX: +49 209 1971449
45886 Gelsenkirchen