new to sessions

new to sessions

am 14.11.2007 17:32:02 von jodleren

escuse me the keyboard in Tallin airport

i work on http://panbaltica.com/docman/action_popup.php

i have one session_start which causes 2 errors
i send headers not to cache the page then the session_start - it
should be elsewhere it is a test - anyway, i want to create the
sesseion and stop caching of the page

i had somethiing which worked but i cannot recreate it

since i am new to session vars any ideas anyone?

wbr
sonnich

Re: new to sessions

am 14.11.2007 18:09:11 von igrosny

On Nov 14, 1:32 pm, jodleren wrote:
> escuse me the keyboard in Tallin airport
>
> i work onhttp://panbaltica.com/docman/action_popup.php
>
> i have one session_start which causes 2 errors
> i send headers not to cache the page then the session_start - it
> should be elsewhere it is a test - anyway, i want to create the
> sesseion and stop caching of the page
>
> i had somethiing which worked but i cannot recreate it
>
> since i am new to session vars any ideas anyone?
>
> wbr
> sonnich

Aparently, you have a blank space/return in onew of the include files

try starting the session before the include files

hope it helps

Re: new to sessions

am 14.11.2007 18:57:26 von John Murtari

jodleren writes:

> i work on http://panbaltica.com/docman/action_popup.php

> i have one session_start which causes 2 errors
> i send headers not to cache the page then the session_start - it
> should be elsewhere it is a test - anyway, i want to create the
> sesseion and stop caching of the page

> i had somethiing which worked but i can not recreate it

Okay, it looks like you have a blank line printing -- the
header info has to be the very first thing in the file. Be careful
that your lines down -- that often causes the 'output already started' error.

Best regards!

--
John
____________________________________________________________ _______
John Murtari Software Workshop Inc.
jmurtari@following domain 315.635-1968(x-211) "TheBook.Com" (TM)
http://thebook.com/

Re: new to sessions

am 14.11.2007 23:09:39 von jodleren

On 14 Nov., 18:09, "igro...@gmail.com" wrote:
> On Nov 14, 1:32 pm, jodleren wrote:
>
> > i have one session_start which causes 2 errors
> > i send headers not to cache the page then the session_start - it
> > should be elsewhere it is a test - anyway, i want to create the
> > sesseion and stop caching of the page
> > i had somethiing which worked but i cannot recreate it
> > since i am new to session vars any ideas anyone?
>
> try starting the session before the include files

That was it

> hope it helps

Yep, thanks a lot.
This causes some problems for me, as my login is in an included file
(better overview), so I need a way to work that one around... heve
sleep on that one.

WBR
Sonnich

Re: new to sessions

am 23.11.2007 08:08:22 von jodleren

On Nov 15, 12:09 am, jodleren wrote:
> On 14 Nov., 18:09, "igro...@gmail.com" wrote:
>
> > On Nov 14, 1:32 pm, jodleren wrote:
>
> > > i have one session_start which causes 2 errors
> > > i send headers not to cache the page then the session_start - it
> > > should be elsewhere it is a test - anyway, i want to create the
> > > sesseion and stop caching of the page
> > > i had somethiing which worked but i cannot recreate it
> > > since i am new to session vars any ideas anyone?
>
> > try starting the session before the include files
>
> That was it
>
> > hope it helps
>
> Yep, thanks a lot.
> This causes some problems for me, as my login is in an included file
> (better overview), so I need a way to work that one around... heve
> sleep on that one.

Well I seems to have other problems - or just being new to sessions

when I have some pages, can I transfer the sesstion to another page?

say page1.php goes to page2.php ( ) ?

WBR
Sonnich

Re: new to sessions

am 23.11.2007 13:48:27 von Jerry Stuckle

jodleren wrote:
> On Nov 15, 12:09 am, jodleren wrote:
>> On 14 Nov., 18:09, "igro...@gmail.com" wrote:
>>
>>> On Nov 14, 1:32 pm, jodleren wrote:
>>>> i have one session_start which causes 2 errors
>>>> i send headers not to cache the page then the session_start - it
>>>> should be elsewhere it is a test - anyway, i want to create the
>>>> sesseion and stop caching of the page
>>>> i had somethiing which worked but i cannot recreate it
>>>> since i am new to session vars any ideas anyone?
>>> try starting the session before the include files
>> That was it
>>
>>> hope it helps
>> Yep, thanks a lot.
>> This causes some problems for me, as my login is in an included file
>> (better overview), so I need a way to work that one around... heve
>> sleep on that one.
>
> Well I seems to have other problems - or just being new to sessions
>
> when I have some pages, can I transfer the sesstion to another page?
>
> say page1.php goes to page2.php (
) ?
>
> WBR
> Sonnich
>

That's the whole purpose of sessions - to be able to carry information
across pages.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================