Jim Gallacher
jpg at jgassociates.ca
Sat Apr 1 14:28:55 EST 2006
yjfuk wrote: > code below: > from mod_python import Session > def index(req) > sess=Session.Session(req) > if sess.is_new(): > sess['num']=0 > sess.save() > else: > sess['num']+=1 > sess.save() > req.write(str(sess['num'])) > > > when I reflush the browser some times ,the session is usually lost . > I run it in windows XP(sp2),python 2.4.2, mod_python 3.2.8 Does reflush mean refresh or restart? Jim
|