MantisBT - NetSurf
View Issue Details
0000483NetSurf[All Projects] Generalpublic2012-01-17 20:102013-12-18 18:03
ReporterSourceforge Import placeholder 
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Fixed in CI build #
Reported in CI build #
URL of problem page
Summary0000483: Session cookies not created for local website
I am developing a website with a login script. That script uses

A check later does
if (!isset($login_session)) { <report no login> }
This works in IE, Firefox, Safari and Chrome. In Netsurf (2.8 and latest dev build) it works IF I use
but fails for http://laptop2/nckc/login.php
There is a cookie created in called PHPSESSID. There is nothing created when connecting to the laptop by name. (I deleted all the cookies first, so I could be sure.)
I noticed a bug reporting this in 2007, closed without any comment I could find, except "expired".
I am new to writing PHP, so the problem could be in my code, which was cribbed in the usual fashion from google.
Alan Adams
Additional Informationnobody added a note on Sun Jan 22 21:18:51 2012

previous comment should have started http://laptop2/nckc i.e. the host name contains no dots. Sorry for any confusion.

nobody added a note on Sun Jan 22 21:16:57 2012

I set up a DNS server, so http://laptop2.nckc/index.php became http://laptop2.adamshome.local/nck/index.php and the problem was no longer seen.

nobody added a note on Thu Jan 19 22:11:57 2012

I am guessing that this occurs when the domain name doesn't contain a dot.

Imported from sourceforge bug on Tue Dec 10 17:34:12 2013

TagsNo tags attached.
Attached Files

Vincent Sanders   
2013-12-18 18:03   
cookie handling still needs an overhaul

Issue History
2013-12-10 17:41Vincent SandersNew Issue
2013-12-10 17:41Vincent SandersStatusnew => assigned
2013-12-10 17:41Vincent SandersAssigned To => Sourceforge Import placeholder
2013-12-18 18:03Vincent SandersNote Added: 0000072
2013-12-18 18:03Vincent SandersAssigned ToSourceforge Import placeholder =>
2013-12-18 18:03Vincent SandersStatusassigned => acknowledged
2013-12-18 18:03Vincent SandersResolutionno change required => open
2013-12-18 18:03Vincent SandersDescription Updatedbug_revision_view_page.php?rev_id=454#r454
2013-12-18 18:03Vincent SandersAdditional Information Updatedbug_revision_view_page.php?rev_id=456#r456