my ie8 always fail.. thank you for test.
On 8月13日, 上午5时19分, Robert Kluin <[email protected]> wrote: > When I tried this in IE8 it seemed to work as I would expect. > > First load: alert('failed'); > login > Second load: alert('success'); > Third load: alert('success'); > Delete the login cookie > Fourth load: alert('failed'); > > 2010/8/11 saintthor <[email protected]>: > > > open the pagehttp://1wqshen.appspot.com/test.jswith ie, it shows > > "alert( 'success.' );". > > > at the same time, load the address as script, it alerts 'failed.' > > > i guess gae could not check ie cookie when loading script. > > > On 8月12日, 下午2时06分, saintthor <[email protected]> wrote: > >> i don't think so. > > >> get script with defferent query string do no effect. > > >> var d = new Date(); > >> $.getScript( "http://1wqshen.appspot.com/test.js?" + d.getTime() ); > > >> you may tryhttp://1wqshen.appspot.com/test.jstotest, > >> andhttp://1wqshen.appspot.com/logintologin. > > >> this string "登录成功。请返回页面:%s" means login ok. > > >> On 8月12日, 上午4时56分, Robert Kluin <[email protected]> wrote: > > >> > IE is probably caching the script. Try adding a query string on the > >> > end of the URL. > > >> > Robert > > >> > On Wed, Aug 11, 2010 at 5:14 AM, saintthor <[email protected]> wrote: > >> > > page as: > > >> > > <html><script src='xxx.appspot.com/zzz.js'></script></html> > > >> > > server code as: > > >> > > def get( self ): > >> > > Guser = users.get_current_user() > >> > > if not Guser: > >> > > self.response.out.write( "alert( 'failed.' );" ) > >> > > else: > >> > > self.response.out.write( "alert( 'success.' );" ) > > >> > > IE always alert "failed." even after logging in to the app. firefox > >> > > and chrome can alert "success." > > >> > > how can i fix this? > > >> > > -- > >> > > You received this message because you are subscribed to the Google > >> > > Groups "Google App Engine" 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 > >> > > athttp://groups.google.com/group/google-appengine?hl=en. > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google App Engine" 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 > > athttp://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups "Google App Engine" 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/google-appengine?hl=en.
