Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Product Manuals » ElevateDB Version 2 PHP Extension Manual » Connection Functions » edb_sessid |
edb_sessid(<ConnectionHandle>) <ConnectionHandle> = Handle of connection returned by edb_connect function
The session ID (INTEGER) if successful, or FALSE if any errors
<?php // The following script connects to a local // ElevateDB configuration and database, displays // the session ID using the edb_sessid() // function, and then disconnects using the edb_disconnect() // function $con = edb_connect("type=local;charset=Ansi;configpath=C:\\Tutorial;"+ "uid=Administrator;pwd=EDBDefault;database=Tutorial"); if (!$con) { die("Could not connect: " . edb_errmsg()); } echo edb_sessid($con); edb_disconnect($con); ?>
This web page was last updated on Thursday, November 16, 2023 at 10:39 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |