Quantcast
Channel: Software Support - PKP Community Forum
Viewing all articles
Browse latest Browse all 17648

Problems to get session_id

$
0
0

@danielbrohm wrote:

Hello everyone!

I'm working with OCS 2.3.6

Since a couple of days I'm working on a php-file that allows creating an invoice as a pdf-file directly after the conference registration process.

Basically it works. So I can catch the data directly from the MySQL database.

BUT I only can catch the data if I specify it exactly. But to create a bill for the current registrant I need to know what its current session_id is. ( I could use the IP, but if two more users are from the same office, then it wouldn’t work if they have the same IP.)

If I try to write the ID by echo session_id(); I don’t get an answer.

Can anyone give me a hint how to load the session ID or another a specific session parameter?

Thanks $Daniel[‘PHP coder since 1 week’];

PS: I also tried to include Session.inc.php and DataObject.inc.php, but with no result.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 17648

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>