Ignore:
Timestamp:
14/10/05 17:47:45 (14 years ago)
Author:
pjkersha
Message:

AttAuthority?.py + AttCert?.py: added NDG prefix to imports to allow for
use of NDG package in python site packages dir.

Session.py: UserSession?.createCookie() - experimented with setting domain
so that cookie is visible across .ac.uk sites.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • security/trunk/python/NDG.BAK/Session.py

    r491 r496  
    14011401                                                            self.getExpiryStr() 
    14021402                                         
    1403              
     1403            # Make cookie as generic as possible for domains - Nb. '.uk' 
     1404            # alone won't work 
     1405            sessCookie[self.__sessIDtagName]['domain'] = '.ac.uk' 
     1406 
     1407                         
    14041408            # Caller should set the cookie e.g. in a CGI script 
    14051409            # print "Content-type: text/html" 
    14061410            # print cookie.output() + os.linesep 
    14071411            if asString: 
    1408                 return sessCookie.output() 
     1412                return sessCookie.output() + os.linesep + sessCookie2.output() 
    14091413            else: 
    14101414                return sessCookie 
Note: See TracChangeset for help on using the changeset viewer.