MCPcopy Create free account
hub / github.com/ActiveState/code / getsid

Method getsid

recipes/Python/577524_Python_Sessions/recipe-577524.py:96–103  ·  view source on GitHub ↗

Return the name and value that the sid needs to have in a GET or POST request

(self)

Source from the content-addressed store, hash-verified

94 return self.__newsid()
95
96 def getsid(self):
97 """
98 Return the name and value that the sid needs to have in a GET or POST
99 request
100 """
101 if not self.started:
102 raise NotStarted("Session must be started")
103 return (S_ID, self.__sid)
104
105 def start(self):
106 """Start the session"""

Callers 1

recipe-278731.pyFile · 0.80

Calls 1

NotStartedClass · 0.85

Tested by

no test coverage detected