Accessing Session variables in /ext/mysql extension

PyTh@n

New Member
I have declared a structure that look like\[code\] typedef struct { char* key; char* value; }kvPair;\[/code\]and in the session structure, i declared a variable as\[code\] struct session { char* id; ..... // other session variables kvPair* pair; }\[/code\]Now in the session_start I have initialised the values for the pair variable and I have to access these values in /ext/mysql extension. A suggestion on how to achieve it would be greatly appreciated
 
Back
Top