Refreash Cookies and temp file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sonalshastry
    New Member
    • Dec 2007
    • 6

    Refreash Cookies and temp file

    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
    Recognized Expert New Member
    • Oct 2008
    • 228

    #2
    Hi

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

    Code:
    <%
    Response.CacheControl = "no-cache" 
    Response.AddHeader "Pragma", "no-cache" 
    Response.Expires = -1
    %>
    Gaz

    Comment

    • sonalshastry
      New Member
      • Dec 2007
      • 6

      #3
      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)Inv alid 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

      Comment

      • GazMathias
        Recognized Expert New Member
        • Oct 2008
        • 228

        #4
        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.

        Comment

        Working...