CGI Utils Library 2.1.0 C/C++ script

SPONSORED LINKS

    Specification

  • Version: 2.1.0
  • File size: 0 KB
  • File name: cgi_utils-2.1.0.tar.gz
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: C/C++
  • Price:GPL
  • Company: Alexander I. Olefirenko (View more)

CGI Utils Library 2.1.0 script description:




Publisher review:
CGI Utils Library is just a simple class CGI wrapping the CGI protocol. CGI Utils library consists of two packages: cgi and template.CGI package is just a simple class CGI wrapping the CGI protocol.Template provides a simple way to work with templates.

Sessions are hashes of strings. Sessions stored in shared memory with default key ftok("/tmp/session",57) By default maximum number of sessions is set to 512 and maximum session size is set to 2048 bytes.

Sessions stored as hash each session identified by SID - session id that can be obtained by getUniqueId(). This functions returns a pointer to buffer containing sid(8-byte length string of letters and numbers).

It uses static internal buffer so do not use use it in multy-threaded environment.Class Session is used to operate with sessions . You can get existed session by calling getSession(const char *sid,Session &s) ,also you can add new or update existed session with addSession(const char *sid,Session &s) call.

Sessions are expire. At the time cleanup strategy do not guarantee what session wil be removed after expire period.Cleaning up called only when maximum number of sessions acchieved.

Sessions have next methods : string &get(key) and set(key,val) also time_t getTouched() method provided .

It returns last time the session was touched . Also method provided that could be usefull: destroy() destroy sessions.It will actually be destroyed when all processes detaches from sessions.

getInfo(int &nsessions,int &seed,vector &sids,vector &data,vector touched); Now special actions should be taken to create sessions hash.But you need to call destroy() explicitly to destroy sessions hash.
CGI Utils Library 2.1.0 is a C/C++ script for Test and Measurement scripts design by Alexander I. Olefirenko. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.

Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Latest script and internet news

The new Firefox 37 comes with improved HTTP / 2 and superior HMTL5 compatibility with YouTube

The new Firefox 37 comes with improved HTTP / 2 and superior HMTL5 compatibility with YouTube

The popular browser Firefox reached version 37, bringing a series of news but not as significant as other versions.

Posted on: 03 Apr 2015 11:11 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Google Chrome version 42 comes with implementation of interesting options for software developers who want to turn their websites into complex Web applications: Push notification system which is permanently active.

Posted on: 17 Mar 2015 07:57 by A. Brown

Gamers, Microsoft presents the advantages of DirectX 12 and 11.3 platforms used by new games for Windows 10

Gamers, Microsoft presents the advantages  of DirectX 12 and 11.3 platforms used by new games for Windows 10

The Windows 10 preview event brought also to the attention of gamers a demonstration of the advantages of the new DirectX 12 API by Microsoft, which announced several technologies providing integration with Xbox One game consoles.

Posted on: 27 Jan 2015 09:15 by A. Brown

Android devices now have access to Google Chrome 40

Android devices now have access to Google Chrome 40

Finally was officially released version 40 of Chrome browser for Android devices, iOS and Windows PCs, coming up with an interesting range of bug fixes and optimizations.

Posted on: 23 Jan 2015 13:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 1.0 out of 5
Based on 2 ratings. 2 user reviews.

  • Currently 1.00 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5