On Mon, Feb 25, 2008 at 5:51 PM, Ćukasz Wojciechowski
<[EMAIL PROTECTED]> wrote:
> Hi, I'm using SWFUpload JavaScript for my upload in my logged part of
> website. I'm passing session_id in every post request from flash
> object. In my script I set forwarded id with
> session_id($_POST['passed_i
On Thu, October 26, 2006 6:19 pm, Patrick Aljord wrote:
> $_SESSION['user_id']=$user_id;
> $_SESSION['user_login']=$user_login;
> $_SESSION['user_pass']=$user_pass;
> $_SESSION['user_level']=$user_level;
> $_SESSION['session_bool']="true";
> $sessionid = session_id();
echo
Also, why are you assigning the result of session_id() into a variable that
is then passed into $_SESSION. Seems overcomplex and redundant - why not
just call session_id() when you need it? Just a thought.
On 10/27/06, Chris Shiflett <[EMAIL PROTECTED]> wrote:
Patrick Aljord wrote:
> I'm moving my page from php4 to php5 and I get this error:
> Warning: Unknown: The session id contains illegal characters,
> valid characters are a-z, A-Z, 0-9 and '-,' in Unknown on
> line 0
Can you check to see what
Patrick Aljord wrote:
> I'm moving my page from php4 to php5 and I get this error:
> Warning: Unknown: The session id contains illegal characters,
> valid characters are a-z, A-Z, 0-9 and '-,' in Unknown on
> line 0
Can you check to see what session identifier the browser is sending when
you get t
Richard Lynch wrote:
Sandy Keathley wrote:
Using PHP 4.3.9, we have these settings:
session.use_cookies = 1
session.use_only_cookies = 1
session.use_trans_sid = 0
(verified by a display of phpinfo() )
with the goal of preventing URLs with session IDs appended. That
works fine, but when a page is v
Sandy Keathley wrote:
> Using PHP 4.3.9, we have these settings:
>
> session.use_cookies = 1
> session.use_only_cookies = 1
> session.use_trans_sid = 0
>
> (verified by a display of phpinfo() )
>
> with the goal of preventing URLs with session IDs appended. That
> works fine, but when a page is va
"Torsten Roehr" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> "Zilvinas Saltys" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > On Fri, 2 Jul 2004 22:45:23 +
> > Curt Zirzow <[EMAIL PROTECTED]> wrote:
> >
> > > * Thus wrote Torsten Roehr:
> > > > "Zilvinas Salt
"Matthew Sims" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> > No, this is exactly what I wanted to know. But it would contradict
> > everything I experienced with sessions until now - and it does. I just
> > tested your code (with session_start() also at the top of page2). It
does
"Zilvinas Saltys" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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
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
> > :)
> > >
> > > Heeel
* 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
> w
> No, this is exactly what I wanted to know. But it would contradict
> everything I experienced with sessions until now - and it does. I just
> tested your code (with session_start() also at the top of page2). It does
> not work because there is absolutely no relation between page1 and page2
> with
"Matthew Sims" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> >> The $_SESSION['sid'] will follow from page to page. As long as the user
> stays in the current session, all $_SESSION variables will follow from
> page to page as long as session_start() is used.
> >
> > OK, but HOW do
On Friday 02 July 2004 04:38 pm, Matthew Sims wrote:
> As long as the user keeps his browser pointing at your site, then they'll
> stay in the currect session. The moment they shut down the web browser,
> the session is lost.
>
The logic doesnt compute with me. I guess I'll have to try this mysel
>> The $_SESSION['sid'] will follow from page to page. As long as the user
stays in the current session, all $_SESSION variables will follow from
page to page as long as session_start() is used.
>
> OK, but HOW do you manage that the user stays in the current session.
Usually this is made sure by p
"Matthew Sims" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> > "Matthew Sims" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> >>
> >> >> Instead of passing the session_id through the URL ($_GET) just
assign
> > it
> >> >> to $_SESSION and pass that around. Then it'
> "Matthew Sims" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>>
>> >> Instead of passing the session_id through the URL ($_GET) just assign
> it
>> >> to $_SESSION and pass that around. Then it'll stay transparent to the
>> >> user.
>> >
>> > Could you describe the last paragraph
"Matthew Sims" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> >> Instead of passing the session_id through the URL ($_GET) just assign
it
> >> to $_SESSION and pass that around. Then it'll stay transparent to the
> >> user.
> >
> > Could you describe the last paragraph a bit more i
On Friday 02 July 2004 02:13 pm, Torsten Roehr wrote:
> Passing the session id via GET/POST may be ugly but makes you independent
> of the browser's cookie settings.
I would have to agree...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>> Instead of passing the session_id through the URL ($_GET) just assign it
>> to $_SESSION and pass that around. Then it'll stay transparent to the
>> user.
>
> Could you describe the last paragraph a bit more in detail? Thanks in
> advance!
>
> Torsten
What if you used this?
session_start();
$
"Matthew Sims" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
>
>
> > "Zilvinas Saltys" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> >> On Fri, 2 Jul 2004 12:21:34 -0400
> >> Gerard Samuel <[EMAIL PROTECTED]> wrote:
> >>
> >> > On Friday 02 July 2004 12:12 pm, Zi
> "Zilvinas Saltys" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> 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
Zilvinas Saltys wrote:
> The problem is as i understand IE is not accepting the cookie. So the
> session id allways regenerates. Everything works fine with mozilla.
[...]
> The only thing i want to know is all the truth about IE (6?) and
> cookies :)
Could it be a problem with IE6 and P3P (http://
"Zilvinas Saltys" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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
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.
> >
> > Mayb
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 situat
This is done by PHP's enable-trans-sid directive. The simple solution
would be to disable trand-sid in the php.ini file, but you may rely on
it to maintain sessions on non-cookie users.
So, then there is this directive in php.ini:
; The URL rewriter will look for URLs in a defined set of HTML
On Wednesday 06 August 2003 02:28, Gerard Samuel wrote:
> How would you best describe a session id as a regex?
> [a-z0-9]{32}
>
> Just checking to see if any other characters can be in a session id.
I think [a-f0-9]{32} is sufficient.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open
> > can somebody tell me why I am getting this:
> > Warning: session_start() [function.session-start]: Cannot send session
> > cookie - headers already sent by (output started at
> > c:\inetpub\wwwroot\search.php:8) in c:\inetpub\wwwroot\search.php on
line 21
> >
> > Warning: session_start() [funct
On 25/3/03 2:37 pm, "Iggy" <[EMAIL PROTECTED]> wrote:
> can somebody tell me why I am getting this:
> Warning: session_start() [function.session-start]: Cannot send session
> cookie - headers already sent by (output started at
> c:\inetpub\wwwroot\search.php:8) in c:\inetpub\wwwroot\search.php on
At 19:50 12.03.2003, Mathieu Dumoulin spoke out and said:
[snip]
>Hi, i'd like to know how PHP determines what session_id to hand out to
>users.
>
>Is it based on some real value like the browser and the ip address? an
>incremental number? I want to make sure
> -Original Message-
> From: Edward Peloke [mailto:[EMAIL PROTECTED]]
> Sent: 06 February 2003 13:56
> To: Php-General@Lists. Php. Net
> Subject: [PHP] session id
>
>
> Ok, I am sure this has been discussed but I have not been keeping up with
> the listserv. I am using sessions so to test,
33 matches
Mail list logo