[Cgi-session-user] RE: :Session - query
Brought to you by:
sherzodr
From: Sherzod R. <she...@ha...> - 2005-10-05 17:13:05
|
Use cookies with expiration date. Example: =20 $session =3D CGI::Session->new(); $cgi =3D CGI->new(); =20 $cookie =3D $cgi->cookie(-name=3D>$session->name, = -value=3D>$session->id, -expires=3D>"+1d"); print $cgi->header(-cookie=3D>$cookie); =20 -----Original Message----- From: Senthil Nathan [mailto:rs...@gm...]=20 Sent: Wednesday, October 05, 2005 5:29 AM To: she...@cp... Subject: CGI::Session - query Importance: High Hi Sherzod Ruzmetov, I need some more examples of using CGI::Session. I read your cookbook. = Could you send me more examples of using CGI::Session module. The query is,=20 How to assign only one session id for a particular user and track = his info.?=20 I face problems in tracking a session in different windows. I could use = one session for one window. But if the user opens in another window, a new session is being created. How to restrict this. Thanks Senthil Nathan R=20 |