It is currently Fri Mar 29, 2024 1:52 pm


All times are UTC


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: PHP sessions on Netscape
PostPosted: Thu Jan 31, 2008 12:47 am 
Newbie
Newbie

Joined: Thu Jan 31, 2008 12:38 am
Posts: 2
Hello...
When using sessions in the scripts, netscape doesn't recognize them.
The cookie is created all right, but i cannot access them on the next page
eg:

page 1:
session_start();
$_SESSION["usrName"] = "Something";

page 2:
session_start();
echo $_SESSION["usrName"];

and it's empty, no error message or anything. (the same script works fine with safari or IE)

Is there something I can do to rectify this?

Thanx !!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 31, 2008 7:46 am 
Moderator
Moderator

Joined: Tue Feb 27, 2007 12:18 am
Posts: 521
Hmmm an odd one, on the page where you echo $_SESSION["usrName"]; is session_start(); the first thing on the page after <?php if not make it so. Second you can try this in the page that echo's the session.


<?php
session_start();
echo $_SESSION["usrName"];
echo "<br><hr><br>";
print_r ($_SESSION);
?>


and let me know what outcome comes out.

_________________
http://www.mjmclocks.co.uk


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 01, 2008 5:32 pm 
Regular
Regular

Joined: Sun Apr 15, 2007 5:14 pm
Posts: 308
Location: Barrie On Ca
netscape, yuck
read this page:

http://wp.netscape.com/legal_notices/cookies.html
it sounds like yours is set to "Disable cookies" instead of "Accept all cookies" or "Accept only cookies that get sent back to the originating server"

btw, netscape is owned by AOHELL nowadays, and i hear they have given up on it, so you may want to do the same, lol

i'd be curious to hear the outcome of Josh's suggestion aswell.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ]  Moderators: Moderators, Support Team

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Hosting | Domains | Servers | Extras | Order | Support | Contacts | FreeHostia © 2011