MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

getting session ID/name



******    message to minivend-users from Kyle Hayes <khayes@quicknet.net>     ******


I am trying to generate a unique ID based on the session ID and the time.
I found some code in the minivend code that seems to do what I want, but I
can't call it.  I took the code and copied it into a GlobalSub in
minivend.cfg.

The code gets the current time with gmtime and the current session name
with Vend::Session::session_name().  So far so good.  But, it doesn't
work.  The session name is always blank.

How do I get the session name?  I can see it in the URL.  What magical
incantation will get it for me?  I looked all over in the manual and apart
from some tantalizing references related to the [if] tag, I found nothing
that tells me how to access the session variables.

I am using MiniVend 3.12 under Red Hat Linux 6.0.  Perl is version 5.005
something.

Best,
Kyle


-
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


Search for: Match: Format: Sort by: