Re: Session be losted when I use redirect function

2008-04-15 Thread DYH1919
You are wellcome,Are you Chinese ? 看你 Gmail 的用户名,好像是中国人呢,共同学习.. 2008/4/15, columbus <[EMAIL PROTECTED]>: > > > Thank you very much. It works for me now! > > > > On Apr 15, 1:47 pm, DYH1919 <[EMAIL PROTECTED]> wrote: > > Hello,every one > > > > I have got the bug(maybe!) ,fix steps : > > fi

Re: Session be losted when I use redirect function

2008-04-15 Thread columbus
Thank you very much. It works for me now! On Apr 15, 1:47 pm, DYH1919 <[EMAIL PROTECTED]> wrote: > Hello,every one > > I have got the bug(maybe!) ,fix steps : > first:confige session autostart in ./cake/app/config/core.php > > Configure::write('Session.start',true); > > then,copy the 'session.

Re: Session be losted when I use redirect function

2008-04-15 Thread DYH1919
Hello,every one I have got the bug(maybe!) ,fix steps : first:confige session autostart in ./cake/app/config/core.php Configure::write('Session.start',true); then,copy the 'session.php' file in ./cake/cake/libs/controller/components/ To ./cake/app/controller/components And set the var __starte

Re: Session be losted when I use redirect function

2008-04-14 Thread columbus
Hi, I just checked it with firefox, and the session variables were still missing. I think it is a problem about cakephp and the reason has never been answered very well at least in this Google group. I spent several hours on checking previous similar problems and still do not know the reason. Cou

Re: Session be losted when I use redirect function

2008-04-14 Thread columbus
Hi, I met the same problem. Even if I redirect to the same page, the session variables were missing. For details, please check my post as following. http://groups.google.com/group/cake-php/browse_thread/thread/aec5967695dcb20d?hl=en# On Apr 11, 7:51 am, Freshow <[EMAIL PROTECTED]> wrote: > in m

Re: Session be losted when I use redirect function

2008-04-14 Thread DYH1919
'?>' tag is working fine in model, I think i should upgrade cakephp V1.2.6311 to a higher version , hope it useful 在08-4-14,Diego Alexandre <[EMAIL PROTECTED]> 写道: > > > Check for whitespaces after the closing tag "?>" in the model.. > > []s. > > > > On Apr 13, 10:26 pm, DYH1919 <[EMAIL PROTECTED

Re: Session be losted when I use redirect function

2008-04-14 Thread Diego Alexandre
Check for whitespaces after the closing tag "?>" in the model.. []s. On Apr 13, 10:26 pm, DYH1919 <[EMAIL PROTECTED]> wrote: > I configure it as this in core.php > > Configure::write('Security.level', 'low'); > > but the problem is awalys > > 2008/4/14, klenwell <[EMAIL PROTECTED]>: > > > > > >

Re: Session be losted when I use redirect function

2008-04-13 Thread DYH1919
I configure it as this in core.php Configure::write('Security.level', 'low'); but the problem is awalys 2008/4/14, klenwell <[EMAIL PROTECTED]>: > > > One possible fix, depending on where the redirect is going: > > I was having a problem like this that was driving me crazy. In my > case, one ch

Re: Session be losted when I use redirect function

2008-04-13 Thread klenwell
One possible fix, depending on where the redirect is going: I was having a problem like this that was driving me crazy. In my case, one character of the url path was changing between requests. IIRC, it was because I was running the entire url path through urlencode and a tilda [~] was being enco

Re: Session be losted when I use redirect function

2008-04-13 Thread DYH1919
Hi, I'm a fresh CakePHPer,and cannot fix it both in IE and FF 2008/4/13, Arash <[EMAIL PROTECTED]>: > > > Hi, > I think I have the same problem, but my session variables are getting > lost only in internet explorer! every thing works fine in firefox! do > you have the same problem?! > > > > --

Re: Session be losted when I use redirect function

2008-04-13 Thread Arash
Hi, I think I have the same problem, but my session variables are getting lost only in internet explorer! every thing works fine in firefox! do you have the same problem?! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

Re: Session be losted when I use redirect function

2008-04-11 Thread Freshow
?? can you description it clearly... On 4月11日, 下午4时58分, vinacake <[EMAIL PROTECTED]> wrote: > send code of addcontroller and default controller. > > On Apr 11, 9:51 am, Freshow <[EMAIL PROTECTED]> wrote: > > > in my AddController ,i use: $this -> Session -> > > write('id','1001');... >

Re: Session be losted when I use redirect function

2008-04-11 Thread vinacake
send code of addcontroller and default controller. On Apr 11, 9:51 am, Freshow <[EMAIL PROTECTED]> wrote: > in my AddController ,i use: $this -> Session -> > write('id','1001');... > > and I can read the value of id by :..$session -> read('id');.. > > but ,if I add this into AddCont

Session be losted when I use redirect function

2008-04-10 Thread Freshow
in my AddController ,i use: $this -> Session -> write('id','1001');... and I can read the value of id by :..$session -> read('id');.. but ,if I add this into AddController, I cannot get the value of id: .. $this -> Session -> write('id','1001'); $this -> redirect('/'); ..