Re: [Cgi-session-user] Wierd CGI-Session
Brought to you by:
sherzodr
From: Senthil N. <rs...@gm...> - 2005-10-21 09:13:40
|
Hi Cristi, I doubt with the cookie not being set properly in IE. So, just check with that in the cookies folder, whether it creates the cookie for that login, when a session is created. If it is not so, then the problem is with that and proceed from here on. Hope you are creating the session like this, $session =3D CGI::Session->new(); $cgi =3D CGI->new(); $cookie =3D $cgi->cookie(-name=3D>$session->name, -value=3D>$session->id, -expires=3D>"+1d"); print $cgi->header(-cookie=3D>$cookie); HTH. Senthil Nathan R On 10/21/05, Cristi Ocolisan <cr...@wi...> wrote: > > Hi all, > > I must confess that my knowledge of CGI::Session module is limited. > > I read all documentation about it, but still I have problems working with > it. > > I read also a lot of threads on a lot of forums all over the net, but > there is not an answer for my problem. > > So, the problem is: > > When a user connects to my website ( www.workitportal.ro<http://www.work= itportal.ro/>) > he is not logged in (logic). After he logs in, I redirect him to the last > page he visited. > > But if he opens another page and then click a link to the page he logged > in, the browser does not recognizes him unless he click on refresh button= . > > I have lost several days trying to solve this problem but no success. > > Ah. The important thing is that it happens only in IE. All other browser= s > work correctly. > > Please tell me where my mistake is. > > Thanks. > > Cristi Ocolisan > > > -- > This message was scanned for spam and viruses by BitDefender. > For more information please visit http://linux.bitdefender.com/ > > > |