[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] session ids
****** message to minivend-users from jojo@buchonline.net ******
On 19 Jun, Markus Müller (ASS Software Odw.) wrote:
> ****** message to minivend-users from "=?iso-8859-1?Q?Markus_M=FCller_=28ASS_Software_Odw.=29?=" <mueller@ass-software.de> ******
>
> we can not use cookies on our site. In catalog.cfg I
> set cookies -> no and ScratchDefault mv_no_session_id -> 0.
>
> When accessing the checkout page via the wapforum microbrowser
> (used by Nokia and Ericsson) we lose the session.
> The checkout page is loaded after the user logged in and
> entered his data.
>
> 1.) When and how is a new session id created.
> 2.) Is it possible to forbid the assignment of a session
> id using a parameter?
> 3.) Any ideas why this happens?
>
> It does not happen using the UP.Microbrowser (used by Siemens)
> Perhaps it's a bug in MVend... We currently use 4.03.
I can confirm this with normal hardware (PC, UNIX, WIN, NS, IE).
I noticed a weird behavior in the "sub create_cookies" of Server.pm.
There is a "if construction" like
if (defined $expire or $Vend::Expire) {
and it seems to me, MV goes into the body of this "if construction"
always. At the first access of any catalogs, $expire and $Vend::Expire
are always empty (undef?). I have set
SaveExpire 8 weeks
SessionExpire 10 days
and I don´t get a right cookies. If I insert some lines like
(ATTENTION: This is not a patch!!!)
my($time) = (@_);
$time = $time || time();
$expire = $Vend::Cfg->{SaveExpire};
$Vend::Session->{'expire'} = $Vend::Expire = $time + $expire;
I get the right cookies now! Another "strange" (?) behavior is ...
- catalog has a frameset served by MV
- one frame has a navigation bar with right URL (with id=xyz123UW)
- visiting the catalog with any browser without cookie
- order one item
- I get the basket with this item displayed
- click the links "Cart" at the navigation URL
- No item in the basket
or
- order one item
- I get the basket with this item displayed
- order another item
- I get the basket with the another item displayed only
(the previous item is away)
With MV3.14-3, I don´t lost any items with the same machine, OS and
browser.
Any hints, helps and suggestions are very welcome!
Regards,
Joachim
--
Hans-Joachim Leidinger
buch online jojo@buchonline.net
Munscheidstr. 14 FAX: +49 209 1671449
45886 Gelsenkirchen FAX: 0209 1671449
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list
- References:
- [mv] session ids
- From: "Markus Müller (ASS Software Odw.)" <mueller@ass-software.de>