TOP
SSV Software Systems Register  Register
Log in to check your private messages  Log in to check your private messages
Startseite FAQ Search Mitglieder Profile  Log in 
SSV Support-Forum
sessions

 
Post new topic   Reply to topic    SSV-Forum Forum Index >>> DNP/9200
<<< Previous topic - Next topic >>>  
Display posts from previous:   
Author Message
Littelteddy



Joined: 03 Sep 2009
Posts: 2

PostPosted: 06.09.2009, 11:54    Post subject: sessions Reply with quote

Hallo ich versuche geade ein Webinterface zum Steuern meines dnp 9200 zu programmieren um einen "Sicheren Bereich" mit login zu gestallten bräuchte ich aber Sessions die ich durch PHP erstellen versuche. Das eigendliche problem ist aber wenn ich versuche eine Session zu starten kann diese nicht erstellt werden, da die Temporäre Datei die dabei in tmp erstellt wir um ein zeichen zu lang ist.
z.b.
sess_urokoharcllnuhvucit422al1bbggquh
wird aber nur als
sess_urokoharcllnuhvucit422al1bbggqu
gespeichert und ist damit keine gültige Session.
Kann man irgendwie die maximale länge der Dateinamen ändern damit sessions möglich sind?
Back to top
View user's profile Send private message
Ole



Joined: 26 Nov 2008
Posts: 20

PostPosted: 17.09.2009, 13:05    Post subject: Reply with quote

als workaround: du kannst die Session id auch selber setzen... ich glaube das ging mit session_id( $eigene_id );

als eigene id könntes du dann sowas benutzen wie:
substr(md5( rand(x,y) ), 0 , 10);
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SSV-Forum Forum Index >>> DNP/9200 All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

SSV Software Systems GmbH

Dünenweg 5
30419 Hannover

Fon: +49(0)511  ·  40 000-0
Fax: +49(0)511  ·  40 000-40

sales@ssv-embedded.de


Impressum    ·    Datenschutz    ·    AGB

© 2023 SSV SOFTWARE SYSTEMS GmbH. Alle Rechte vorbehalten.

ISO 9001:2015