Home  |  Forums  |  914 Info  |  Blogs
 
914World.com - The fastest growing online 914 community!
 
Porsche, and the Porsche crest are registered trademarks of Dr. Ing. h.c. F. Porsche AG. This site is not affiliated with Porsche in any way.
Its only purpose is to provide an online forum for car enthusiasts. All other trademarks are property of their respective owners.
 

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> OT: need PHP help ..., arrrggghhhh
SirAndy
post Dec 27 2004, 12:42 PM
Post #1


Resident German
*************************

Group: Admin
Posts: 41,648
Joined: 21-January 03
From: Oakland, Kalifornia
Member No.: 179
Region Association: Northern California



sooooo, i'm trying to use some Session Variables of my own to keep track of stuff inbetween pages.

i'm using:

$_SESSION['myCar'] = "Yellow?";


it works great while i'm on the same page, i can also reload/refresh that page or link to itself with different parameters and the variable is still good,

BUT

as soon as i lieave the page to go to the next page, all Session Variables are lost!
(IMG:http://www.914world.com/bbs2/html/emoticons/confused24.gif)

the "next page" is on the same webserver, same browser window, blah blah, there should be *NO* reason why i'm loosing those values ...

anyone any ideas here ???
(IMG:http://www.914world.com/bbs2/html/emoticons/pray.gif) Andy
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
datapace
post Dec 27 2004, 12:49 PM
Post #2


Member
**

Group: Members
Posts: 133
Joined: 19-January 04
From: Atlanta, GA
Member No.: 1,579
Region Association: South East States



Do you have a session.save_path set up? Does the diirectory exist and does the webserver have permission to read/write?

Is session.use_cookies set on and if so, do you have cookies enable (simple I know, but it would keep it from working). Moot if you're passing the session ID in the URL.

Is session.auto_start set to true?

-bryan
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
SirAndy
post Dec 27 2004, 01:09 PM
Post #3


Resident German
*************************

Group: Admin
Posts: 41,648
Joined: 21-January 03
From: Oakland, Kalifornia
Member No.: 179
Region Association: Northern California



QUOTE
Do you have a session.save_path set up?  Does the diirectory exist and does the webserver have permission to read/write?


yes, path is valid and webserver has read/write access ...


QUOTE
Is session.use_cookies set on and if so, do you have cookies enable (simple I know, but it would keep it from working).


yes, it's on and cookies are enabled ...


QUOTE
Moot if you're passing the session ID in the URL.


yes, i use PHPSESSID ...


QUOTE
Is session.auto_start set to true?


yes ...
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th May 2024 - 04:14 PM