Re: [Cgi-session-user] Wierd CGI-Session
Brought to you by:
sherzodr
From: root <ro...@s1...> - 2005-10-21 18:01:16
|
When a client is re-directed, IE is displaying them version of the image previously stored in cache. It can happen for the two following reasons: * Your IE settings don't check for newer version of your pages "automatically" and/or * Your pages (or your web server) indicate an expiration date for the document. You can start by updating your IE settings in Tools->Internet Options and click on Settings button on the "General" Tab, and tell IE to check for newer version of web pages "Automatically". If that doesn't help, make sure your web pages are served without any expiration date. Assuming your pages are "dynamic", you can do it by outputting the following HTTP header using CGI.pm: print $cgi->header(-expires=>'1s'); If your pages are "static", it depends on the type of the web server you're running to configure these settings. For apache 1.2+ look into mod_expires. -- Sherzod Ruzmetov On Fri, Oct 21, 2005 at 12:02:26PM +0300, Cristi Ocolisan 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.workitportal.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 browsers > 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/ |