 |
|
 |
|
Next: Announce: XML 2007 Conference
|
| Author |
Message |
External

Since: Jun 21, 2007 Posts: 2
|
(Msg. 1) Posted: Wed Nov 14, 2007 8:32 am
Post subject: new to sessions Archived from groups: comp>lang>php (more info?)
|
|
|
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 >> Stay informed about: new to sessions |
|
| Back to top |
|
 |  |
External

Since: Mar 12, 2004 Posts: 15
|
(Msg. 2) Posted: Wed Nov 14, 2007 12:57 pm
Post subject: Re: new to sessions [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
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 <? to start php is at the very top of the file, not a few
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/ >> Stay informed about: new to sessions |
|
| Back to top |
|
 |  |
External

Since: Jun 21, 2007 Posts: 2
|
(Msg. 3) Posted: Wed Nov 14, 2007 2:09 pm
Post subject: Re: new to sessions [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On 14 Nov., 18:09, " " 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 >> Stay informed about: new to sessions |
|
| Back to top |
|
 |  |
External

Since: Nov 13, 2007 Posts: 2
|
(Msg. 4) Posted: Wed Nov 14, 2007 5:09 pm
Post subject: Re: new to sessions [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
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 >> Stay informed about: new to sessions |
|
| Back to top |
|
 |  |
External

Since: Nov 22, 2007 Posts: 223
|
(Msg. 5) Posted: Thu Nov 22, 2007 11:08 pm
Post subject: Re: new to sessions [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Nov 15, 12:09 am, jodleren wrote:
> On 14 Nov., 18:09, " " 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 ( <a href="page2.php"> ) ?
WBR
Sonnich >> Stay informed about: new to sessions |
|
| Back to top |
|
 |  |
External

Since: Aug 11, 2004 Posts: 1367
|
(Msg. 6) Posted: Fri Nov 23, 2007 7:48 am
Post subject: Re: new to sessions [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
jodleren wrote:
> On Nov 15, 12:09 am, jodleren wrote:
>> On 14 Nov., 18:09, " " 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 ( <a href="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.TakeThisOut@attglobal.net
================== >> Stay informed about: new to sessions |
|
| Back to top |
|
 |  |
| Related Topics: | sessions - Hi, I have just started to work with sessions, but it won't work. The code I have is: index.php: <?php session_start(); $_SESSION['var_waarde'] = "Gewoon een waarde"; echo "<a href=\"vervolg.php\">Continue</...
SESSIONS - Good day, We have some Java programmers in our software dev, and they are pressuring us to use Sessions to store data and use that Session to get query data. They say that it is ok since it is like Entities in Java. I am baffled as a .NET programmer, we...
New to Sessions 2 - Hi! I started a thread app 2 weeks ago and redlied to that, but it seems to be so low in the list, that it will not be seen. My problem - I need to transfer the sesstion to another page? say page1.php goes to page2.php ( <a href="page2.php&quo...
Sessions - Hi, My site works on sessions. Currently when a user logs in, I store all information in a database table. Whenever the user does something, I check the database to see if the session is active. If so, I update the date and time and then update the..
URL masking when using PHP sessions. - We have a huge PHP e-commerce site that relies totally on PHP sessions and cookies. We need to create a demo version of the site for potential clients to use that does NOT show the original URL in the browser, but we can't just simply copy the site and.. |
|
You can post new topics in this forum You can 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
|
|
|
|
 |
|
|