/[glsr]/trunk/harmonious/_requestfactory.py
Gentoo

Diff of /trunk/harmonious/_requestfactory.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 25 Revision 26
82 self.__create_session() 82 self.__create_session()
83 83
84 def __create_session(self): 84 def __create_session(self):
85 85
86 # Create the session 86 # Create the session
87 self.__request.session._set_id(gen_session_id(self.__request._baseRequest.client_address[1])) 87 self.__request.session._set_id(gen_session_id(self.__request._baseRequest.client_address[1],
88 self.__request.host))
88 self.__request.session.expires = int(time() + (harm.config.session['Timeout'] * 60)) 89 self.__request.session.expires = int(time() + (harm.config.session['Timeout'] * 60))
89 90
90 # Save it 91 # Save it
91 self.__sessionStore.store_session(sessionId=self.__request.session.get_id(), 92 self.__sessionStore.store_session(sessionId=self.__request.session.get_id(),
92 expirationDate=harm.config.session['Timeout']) 93 expirationDate=harm.config.session['Timeout'])

Legend:
Removed from v.25  
changed lines
  Added in v.26

  ViewVC Help
Powered by ViewVC 1.1.20