Connecting Tech Pros Worldwide Forums | Help | Site Map

Refreash Cookies and temp file

Newbie
 
Join Date: Dec 2007
Posts: 3
#1: Aug 6 '09
Hi All

I have used Aps page to login and a menu in JavaScript,

Case:
when i Login with a user id ,and log out from that user id
and on second time i log in with other userid then also system show the detail of First Login id only

but if i clear all temp file and cookied from Internet options and refresh the page then it shows the details of second user id

what can be the probable reason
i have checked the browser setting also
Every Visit to page hava selected in General tab setting

please help

GazMathias's Avatar
Expert
 
Join Date: Oct 2008
Location: Bristol, United Kingdom
Posts: 145
#2: Aug 6 '09

re: Refreash Cookies and temp file


Hi

You can put these lines of code on a common page in your site, like some file that is included in each page.

Expand|Select|Wrap|Line Numbers
  1. <%
  2. Response.CacheControl = "no-cache" 
  3. Response.AddHeader "Pragma", "no-cache" 
  4. Response.Expires = -1
  5. %>
  6.  
Gaz
Newbie
 
Join Date: Dec 2007
Posts: 3
#3: Aug 8 '09

re: Refreash Cookies and temp file


Hi Gaz

thanks for your suggetion i had added this part of code in header.asp , which contain User name and User type and its comman page for every login, but got error ' Microsoft VBScript compilation (0x800A0408)Invalid character '

the seqance of login data flow is as
Login.asp : -- capture user id and pwd
getcookies.asp: -- retain the userid and Pwd
header.asp:-- display the data

pls advise something about it

Regards,
Sonal
GazMathias's Avatar
Expert
 
Join Date: Oct 2008
Location: Bristol, United Kingdom
Posts: 145
#4: Aug 10 '09

re: Refreash Cookies and temp file


Hi,

Does this message refer to a particular line in your pages. If so can you post that line and anything that the line may refer to.

Cheers,

Gaz.
Reply