Something weird with sessions

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Betty Perea

    Something weird with sessions

    I'm having a little weird condition.
    I have a simple form (POST method), whose Action is a validation
    script, most of the times it works. But sometimes, the validation
    script does not "receive" the variables from the form script.
    The code is very simple, so I think I should review some of the
    parameters of the PHP version (4.3.4) installed in the server where my
    site is hosted, but I'm not sure which of them I should check.
    Does somebody have any idea of what it could be happening?
    Thanks.
  • Pedro Graca

    #2
    Re: Something weird with sessions

    Betty Perea wrote:[color=blue]
    > I have a simple form (POST method), whose Action is a validation
    > script, most of the times it works. But sometimes, the validation
    > script does not "receive" the variables from the form script.[/color]
    (snip)[color=blue]
    > Does somebody have any idea of what it could be happening?[/color]

    Maybe someone is playing with your form and sending different variables?
    Maybe hoping to catch a vulnerability due to register_global s or just
    having fun?
    --
    --= my mail box only accepts =--
    --= Content-Type: text/plain =--
    --= Size below 10001 bytes =--

    Comment

    • Betty Perea

      #3
      Re: Something weird with sessions

      Pedro Graca <hexkid@hotpop. com> wrote in message news:<c0u34c$1c b7qh$2@ID-203069.news.uni-berlin.de>...[color=blue]
      > Betty Perea wrote:[color=green]
      > > I have a simple form (POST method), whose Action is a validation
      > > script, most of the times it works. But sometimes, the validation
      > > script does not "receive" the variables from the form script.[/color]
      > (snip)[color=green]
      > > Does somebody have any idea of what it could be happening?[/color]
      >
      > Maybe someone is playing with your form and sending different variables?
      > Maybe hoping to catch a vulnerability due to register_global s or just
      > having fun?[/color]

      Thank you Pedro. The thing is that I'm testing the site by myself,
      before I put it on production. Well, I will release it, and I'll keep
      searching. If I get something, I'll let you know. Oh!, the
      register_global s is "off".

      Comment

      • Henk Burgstra

        #4
        Re: Something weird with sessions

        On Tue, 17 Feb 2004 13:13:48 -0800, Betty Perea wrote:
        [color=blue]
        > I'm having a little weird condition.
        > I have a simple form (POST method), whose Action is a validation
        > script, most of the times it works. But sometimes, the validation
        > script does not "receive" the variables from the form script.
        > The code is very simple, so I think I should review some of the
        > parameters of the PHP version (4.3.4) installed in the server where my
        > site is hosted, but I'm not sure which of them I should check.
        > Does somebody have any idea of what it could be happening?
        > Thanks.[/color]

        Hi Betty,

        I've solved a similar problem by calling session_write_c lose() explicitly
        after updating the session var.



        hth,
        Henk Burgstra

        Comment

        Working...