Roxen.git/
server/
etc/
modules/
Roxen.pmod
Branch:
Tag:
Non-build tags
All tags
No tags
2001-01-06
2001-01-06 08:51:10 by Martin Nilsson <mani@lysator.liu.se>
d4f21cf4fa06dc1bfe9fec02169e7455139b9388 (
8
lines) (+
4
/-
4
)
[
Show
|
Annotate
]
Branch:
5.2
Even better
Rev: server/etc/modules/Roxen.pmod:1.64
1:
// This is a roxen pike module. Copyright © 1999 - 2000, Roxen IS. //
-
// $Id: Roxen.pmod,v 1.
63
2001/01/06 08:
46
:
04
nilsson Exp $
+
// $Id: Roxen.pmod,v 1.
64
2001/01/06 08:
51
:
10
nilsson Exp $
#include <roxen.h> #include <config.h>
25:
string http_roxen_id_cookie() {
-
return
sprintf(
"RoxenUserID=
%x
; expires=" +
-
http_date (3600*24*365*2 + time (1)) + "; path=/"
,
-
roxen->create_unique_id())
;
+
return "RoxenUserID=
" + roxen->create_unique_id() + "
; expires=" +
+
http_date (3600*24*365*2 + time (1)) + "; path=/";
}