[PHP] compiling 3'd party php modules

2004-07-04 Thread Zilvinas Saltys
Hello,

I need to compile sqlanywhere module. 
http://www.sybase.com/detail/1,6904,1019698,00.html
Theyr documentation says that i need to compile the whole php source tree. That is not 
an easy task on gentoo with ebuilds. Well i managed to do that.

But maybe there is an easier way? To compile seperate modules and just load them with 
dl() function..

Thanks
Bye

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] session id changing all the time on some pc's

2004-07-02 Thread Zilvinas Saltys
Hello,

I have a strange problem.

For example i have a script:

?php
session_start();

echo session_id();
?

Once it started a session the session_id should never change. It works on my localhost 
with default php configuration. I'm using mozilla firefox and IE.

I put this script on some other server on the net. It works just fine too with both 
browsers.

But i also put it on one other server and while you are you using IE the session_id 
changes all the time. With mozilla firefox everything just works fine. On all servers.

I looked at server configurations but i couldn't find anything usefull. I tried to 
change IE settings to accept all cookies but nothing changed.

Maybe someone knows where's the problem..
Thanks

Bye

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] session id changing all the time on some pc's

2004-07-02 Thread Zilvinas Saltys
On Fri, 2 Jul 2004 12:21:34 -0400
Gerard Samuel [EMAIL PROTECTED] wrote:

 On Friday 02 July 2004 12:12 pm, Zilvinas Saltys wrote:
  I looked at server configurations but i couldn't find anything usefull. I
  tried to change IE settings to accept all cookies but nothing changed.
 
  Maybe someone knows where's the problem..
 
 I dont know of all the specifics of your situation, but I know when it 
 happened to my code, it boiled down to a cookie problem.  (I never 
 experienced it first hand unless I turned off cookies in my own browser.  I 
 saw it was happening for other users on my code).
 So what I eventually did, was modified my code to work with browsers that do 
 not store cookies (for what ever reason that may be).
 By that I mean to pass the session id in the url and in forms...

I know i can pass the session id by url.. But this solution is ugly and hopefully not 
the only one there is..
The problem is as i understand IE is not accepting the cookie. So the session id 
allways regenerates. Everything works fine with mozilla.

The strangest part of the show is some pc's that have IE installed accepts those 
cookies. I turned 'accept ALL cookies'. Same result..

Maybe ... this could be a domain problem.. 

The only thing i want to know is all the truth about IE (6?) and cookies :)

Heeelp :)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] session id changing all the time on some pc's

2004-07-02 Thread Zilvinas Saltys
On Fri, 2 Jul 2004 22:45:23 +
Curt Zirzow [EMAIL PROTECTED] wrote:

 * Thus wrote Torsten Roehr:
  Zilvinas Saltys [EMAIL PROTECTED] wrote in message
  news:[EMAIL PROTECTED]
  
   The only thing i want to know is all the truth about IE (6?) and cookies
  :)
  
   Heeelp :)
  
  Sorry to say that but just DO NOT use cookies. You will always have problems
  with users having weird cookie settings in their browser. Cookies are fine
  for intranets where you know the infrastructure you are dealing with.
  Passing the session id via GET/POST may be ugly but makes you independent of
  the browser's cookie settings.
 
 I would strongly discourage trans_id with sessions that contain
 sensitive data.

Yes it does contain sensitive data.. And those people cant work with that data because 
of IE...
Those people have to travel from place to place. They can't use mozilla everywhere or 
change the IE settings or even to turn the zone alarm off...

So what are your suggestions? Using trans sid is the only solution as i see now.. No 
matter how unsafe it is.. Or it looks or works ugly..

That is the problem :)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Dealing with session expiry

2003-10-18 Thread Zilvinas
Hello,

Why are you saving such information into a session? Sessions are for temporary 
information. Use cookies or database, if you are doing what you are saying :) There 
should be no harm.

Bye.

 I have some pages that use sessions to call out certain elements in the
 layouts. It allows user to decide how should their pages look for the
 duration of their visit.
 
 Unfortunately whenever a user leaves their browser idle past the expity time
 of the session on their next click pages fall apart and all styles etc. are
 lost.
 
 I understand that I can detect or at least anticipate expiry of the session
 and renew it before it does. The question is how?
 
 Thanks in advance
 
 R
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php