473,320 Members | 1,707 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

new to sessions

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

Nov 14 '07 #1
5 1396
On Nov 14, 1:32 pm, jodleren <sonn...@hot.eewrote:
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

Nov 14 '07 #2
jodleren <so*****@hot.eewrites:
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/
Nov 14 '07 #3
On 14 Nov., 18:09, "igro...@gmail.com" <igro...@gmail.comwrote:
On Nov 14, 1:32 pm, jodleren <sonn...@hot.eewrote:
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
Nov 14 '07 #4
On Nov 15, 12:09 am, jodleren <sonn...@hot.eewrote:
On 14 Nov., 18:09, "igro...@gmail.com" <igro...@gmail.comwrote:
On Nov 14, 1:32 pm, jodleren <sonn...@hot.eewrote:
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
Nov 23 '07 #5
jodleren wrote:
On Nov 15, 12:09 am, jodleren <sonn...@hot.eewrote:
>On 14 Nov., 18:09, "igro...@gmail.com" <igro...@gmail.comwrote:
>>On Nov 14, 1:32 pm, jodleren <sonn...@hot.eewrote:
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.
js*******@attglobal.net
==================

Nov 23 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: The Plankmeister | last post by:
Hi... I'm trying my hardest to understand fully how sessions work and how best to use them. However, all I can find is information that doesn't tell me anything other than that sessions store...
13
by: jing_li | last post by:
Hi, you all, I am a newbee for php and I need your help. One of my coworker and I are both developing a webpage for our project using php. We have a copy of the same files in different location...
3
by: Maxime Ducharme | last post by:
Hi group We have a problem with sessions in one of our sites. Sessions are used to store login info & some other infos (no objects are stored in sessions). We are using Windows 2000 Server...
3
by: Will Woodhull | last post by:
Hi, I'm new here-- I've been reading the group for a couple of days. Nice group; I like the way n00b33 questions are handled. I've been using a Javascript routine in index.html to determine a...
2
by: Steve Franks | last post by:
According to the docs you tell ASP.NET to use cookieless sessions by setting a value in the config.web file. However, what if I wanted to determine at run time whether or not I wanted to use...
12
by: D. Shane Fowlkes | last post by:
This is a repost (pasted below). Since my original post, I've double checked the system clock and set all IIS Session Timeout values to 10 minutes. Still ...the problem occurs. I've also...
6
by: Daniel Walzenbach | last post by:
Hi, I have a web application which sometimes throws an “out of memory” exception. To get an idea what happens I traced some values using performance monitor and got the following values (for...
22
by: magic_hat60622 | last post by:
Hi all. I've got an app that dumps a user id into a session after successful login. the login page is http://www.mydomain.com/login.php. If the user visits pages on my site without the www (i.e.,...
13
Frinavale
by: Frinavale | last post by:
One of the most fundamental topics in web design is understanding how to pass information collected on one web page to another web page. There are many different ways you could do this: Cookies,...
3
Atli
by: Atli | last post by:
Introduction: Sessions are one of the simplest and more powerful tools in a web developers arsenal. This tool is invaluable in dynamic web page development and it is one of those things every...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shllpp 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.