clearing cache

Discussion in 'Javascript' started by Anshul, Jun 27, 2007.

  1. Anshul

    Anshul Guest

    Hello,
    I'm using an Iframe to display user's detail if logged in and
    login form if logged out. Its working very fine in Mozilla but not
    working in IE. Cookies are getting destroyed but still Iframe
    condition is not getting changed.
    I mean what I'm doing is giving conditions - if user is
    logged in a different table and user's informations will b displayed
    but if he is logged out so in the same Iframe he will b able to see
    the login page. But presently what is happening is the cache is not
    getting cleared in my view and even after logging out the logged in
    table without user's information is displayed as cookies are getting
    destroyed and after refreshing for about 10 times the login page is
    getting displayed.

    Please Help as this is screwing. It can be thru JS/HTML/CGI
     
    Anshul, Jun 27, 2007
    #1
    1. Advertising

  2. Anshul

    shimmyshack Guest

    On Jun 27, 7:03 am, Anshul <> wrote:
    > Hello,
    > I'm using an Iframe to display user's detail if logged in and
    > login form if logged out. Its working very fine in Mozilla but not
    > working in IE. Cookies are getting destroyed but still Iframe
    > condition is not getting changed.
    > I mean what I'm doing is giving conditions - if user is
    > logged in a different table and user's informations will b displayed
    > but if he is logged out so in the same Iframe he will b able to see
    > the login page. But presently what is happening is the cache is not
    > getting cleared in my view and even after logging out the logged in
    > table without user's information is displayed as cookies are getting
    > destroyed and after refreshing for about 10 times the login page is
    > getting displayed.
    >
    > Please Help as this is screwing. It can be thru JS/HTML/CGI


    make sure the iframe url sends no caching headers, and/or use a random
    string on the end of the url to fool the browser cache into thinking
    its a new page. url?k=89798475938 you can generate this will rand or
    part of the data object whatever in javascript.
     
    shimmyshack, Jun 27, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Robert via DotNetMonster.com

    Clearing cache for an individual page when using URL rewriting

    Robert via DotNetMonster.com, Dec 21, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    511
    Robert via DotNetMonster.com
    Dec 21, 2004
  2. =?Utf-8?B?Q2hyaXM=?=

    clearing form/page cache

    =?Utf-8?B?Q2hyaXM=?=, Feb 14, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    3,160
    =?Utf-8?B?Q2hyaXM=?=
    Feb 14, 2005
  3. Micha³ Januszczyk

    cache clearing upon app shutdown

    Micha³ Januszczyk, Jun 30, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    411
    Micha³ Januszczyk
    Jun 30, 2005
  4. PD
    Replies:
    0
    Views:
    2,189
  5. Replies:
    3
    Views:
    16,351
    Thomas Weidenfeller
    Mar 10, 2006
Loading...

Share This Page