FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » @sessionstart()
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: @sessionstart() [message #169515 is a reply to message #169509] Thu, 16 September 2010 12:07 Go to previous messageGo to previous message
matt[1] is currently offline  matt[1]
Messages: 40
Registered: September 2010
Karma:
Member
On Sep 15, 9:06 pm, "rf" <r...@z.invalid> wrote:
> "Twayne" <nob...@devnull.spamcop.net> wrote in message
>
> news:i6rq4b$agh$1(at)news(dot)eternal-september(dot)org...
>
>> Hi,
>
>> I came across a suggestion to use "@sessionstart()" for a problem where it
>> couldn't be figured out what was sending data before the session start
>> command.
>
> That was not a very good suggestion.
>
>> Unfortunately there was no explanatory link or anything else to tell me
>> more about adding the "@" to sessionstart(); e.g. @sessionstart().
>
>> Can anyone lead me to any informaton on the what, why, when, of using the
>> "at" sign that way as a prefix?
>
> @ simply supresses errors.  Your sessionstart() was causing errors because
> headers had already been sent. @ supressed those error messages. It didn't
> fix the problem, just made it invisible.
>
> You should *rarely* have a need for @.

I contend that you *never* have a need...
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: When do I use {}?
Next Topic: Php Include bug in firefox
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 13:07:33 GMT 2024

Total time taken to generate the page: 0.04316 seconds