Mistake was at my end, nothing related to symfony. Try
print_r($this->getUser()) to check if the issue is really related to flash
msg or some other reason is there.
I tried finding flash variable in session file at server. But it does not
store the variable directly. Below is the content related to sfUser i found
in it
symfony/user/sfUser/attributes|a:2:{s:25:"symfony/user/sfUser/flash";a:0:{}s:32:"symfony/user/sfUser/flash/remove";a:0:{}}symfony/user/sfUser/culture|s:2:"en";
Thanks & Regards
Charanjeet Kaur
-----------------------
On Thu, Feb 3, 2011 at 2:41 PM, charanjeet kaur <[email protected]>wrote:
> Solved the issue :)
> there was problem with sessions at server.
>
> -------------------------
> Thank & Regards
> Charanjeet Kaur
>
>
>
> On Wed, Feb 2, 2011 at 3:28 PM, Markus <[email protected]> wrote:
>
>> I might have a similar problem! I use the UserBundle for
>> Authentication/Authorisation;
>> it works perfectly fine on my development machine (win 7) but it does
>> not work at all
>> at my server (ubuntu) even though i made sure that the configuration
>> (especially the
>> php session) is as close as possible.
>> Investigating a bit i found that the session files are created but are
>> empty; Since the
>> flash messages are also stored in the session it could be the same
>> cause...
>>
>> Have you checked looking at the session files?
>>
>> Kind Regards,
>>
>> Markus
>>
>> On 2 Feb., 10:18, charanjeet <[email protected]> wrote:
>> > Hi all,
>> >
>> > setFlash is working prefectly fine on staging server but not on live
>> > though all the configuration is exactly same.
>> > use_flash is set to true. Please let me know what all are possible
>> > reasons...
>> >
>> > Thanks
>> > Charanajeet Kaur
>>
>> --
>> If you want to report a vulnerability issue on symfony, please send it to
>> security at symfony-project.com
>>
>> You received this message because you are subscribed to the Google
>> Groups "symfony users" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]<symfony-users%[email protected]>
>> For more options, visit this group at
>> http://groups.google.com/group/symfony-users?hl=en
>>
>
>
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en