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 #169523 is a reply to message #169509] Fri, 17 September 2010 01:14 Go to previous messageGo to previous message
Twayne is currently offline  Twayne
Messages: 135
Registered: September 2010
Karma:
Senior Member
In news:i4eko.6537$Yv(dot)5822(at)viwinnwfe01(dot)internal(dot)bigpond(dot)com,
rf <rf(at)z(dot)invalid> typed:
> "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 @.

Ah, that makes sense; the only other place I've ever seen "@" is with "echo"
so I figured it might be something akin to that. Ass-u-me-ing isn't the best
learninig tool though<g>!

Thanks,

Twayne`
[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:18:13 GMT 2024

Total time taken to generate the page: 0.05448 seconds