Re: [Cppcms-users] Sessions
Brought to you by:
artyom-beilis
From: Frank E. <fra...@an...> - 2010-08-20 19:34:16
|
Nevermind - I solved it. I had 'secure: true' in config.js in thus the cookie hadn't be sent back from the browser since this was no https connection. Another question: is it possible to have the session id to be transparently added as a url parameter, when cookies are not available (such as php does this)? thank, Frank Am 20.08.2010 21:17, schrieb Frank Enderle: > Hi, > > I try to use sessions. Though the system generates session cookies - > which are received by the browser - they are not available in the next > http request from the browser. I use server side sessions. > > I just have to include session_interface.h and then can use > session()[key] = value to store and value = session()[key] to retrieve > values in sync sessions. Am I missing something here? > > Any thoughts welcome. > > Regards, > > Frank > -- Dipl.-Ing. (FH) Frank Enderle anamica UG (haftungsbeschränkt) Beinsteinerstr. 6 71334 Waiblingen Telefon: +49 151 14981091 Telefax: +49 7151 1335770 E-Mail: fra...@an... Internet: www.anamica.de Handelsregister: AG Stuttgart HRB 732357 Geschäftsführer: Yvonne Holzwarth, Frank Enderle |