Being able to determine client-side if a user is logged in can be complicated by authentications that can time out. For those instance, you would need a timestamp on the client side which indicates the time they authenticated and knowledge of the duration for which their authentication will remain valid. With these 2 data points you could determine if they are still logged in.
In my apps I chose to simplify things by just using a simple ajax call to query the server to determine if they are logged in or not. Jeff On Mon, Aug 2, 2010 at 11:43 AM, Saqib Ali <[email protected]> wrote: > thank ya'll for the responses. so it seems that without making further > trips to the server, the only way to check to see if the user is > logged in is to set some cookie/hidden fields....... > > -- > 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]<google-appengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > -- -- Jeff -- 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.
