Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: CGI::Session not 'sticking' on one computer

by traveler (Parson)
on Jul 25, 2007 at 21:34 UTC ( #628811=note: print w/replies, xml ) Need Help??

in reply to CGI::Session not 'sticking' on one computer

Some possibilities:

Are you using a "third-party cookie"? If so, is someone on that site visiting some other page that uses the same third-party?

Any chance the problematic machine has run out of cookie space? IIRC, the default is only 2M.

Are you dropping other cookies? I understand that IE6 has a limit on the total bytes of cookies from a site.

What version of IE is the problematic PC running? I know some old IEs (IE4) had issues with some cookies, including ones with null names.

HTH, --traveler

  • Comment on Re: CGI::Session not 'sticking' on one computer

Replies are listed 'Best First'.
Re^2: CGI::Session not 'sticking' on one computer
by skelooth (Novice) on Jul 25, 2007 at 23:14 UTC
    I'm not quite sure what you mean by third party cookie. The cookie should only be active within the domain I set it in, or at least I assume it would be that way. Maybe you can expand on what you mean. Cookie space should not be the issue as the cookie is only storing ~50 characters or less and cookies on other sites seem to work fine. The machine also does not seem to be dropping any other cookies. The problematic computer is a windows XP home edition with IE7. Originally it was IE6, so one of my first attempts to fix this was to update it to 7. I don't think I've ever quite seen a problem like this before, because it's so peculiar. Personally I'd like to just reformat the whole machine and make it all open source software based but the help desk folk don't like that idea much :)

    Is there a way to preserve linebreaks in nodes without typing <br>?
      Is there a way to preserve linebreaks in nodes without typing <br>?
      To what purpose?

      You've used <code> properly in your OP and I don't see anything in this thread that can't be attributed to individual style where <br> would be needed unless it's the parent of this post, where (personal style, again), I might have broken up your monolithic text into paragraphs, using <p>... </p> pairs.

      For more general advice on formatting your nodes, check Writeup Formatting Tips and because it's comprehensive, follow, near the bottom, the link to Perl Monks Approved HTML tags.

      And lest we forget, your browser's "View Source" may add some answers, if you see some kind of fancy formatting not readily attributable to breaks, paragraphs, or (not previously mentioned) lists whether ordered or unordered.

      Just BTW, there are no <br>s in the source of this entry.
      A third-party cookie is one sent by a website other than one the user is viewing. That is, if the user is viewing, a cookie from would be a third-party cookie.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://628811]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (1)
As of 2021-10-17 22:00 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (72 votes). Check out past polls.