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 #169509 is a reply to message #169508] Thu, 16 September 2010 01:06 Go to previous messageGo to previous message
rf is currently offline  rf
Messages: 19
Registered: September 2010
Karma:
Junior Member
"Twayne" <nobody(at)devnull(dot)spamcop(dot)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 @.
[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: Fri Sep 27 19:26:48 GMT 2024

Total time taken to generate the page: 0.04223 seconds