ok...another stupid question...Please help?

Results 1 to 4 of 4

Thread: ok...another stupid question...Please help?

  1. #1
    Raquel Anne Guest

    Default ok...another stupid question...Please help?

    I want to keep someone from using the page back button on a browser when they get to an asp page, but I also dont want to open a new window either, is there a way to do this?<BR>Please help?<BR>Thanks in advance!<BR>Raquel Anne

  2. #2
    Join Date
    Dec 1969
    Posts
    168

    Default RE: ok...another stupid question...Please help?

    You could use a &#060;%Response.Expires=0%&#062; in the header of your asp page.<BR><BR>This will cause the user to see a &#039expired&#039 message when they go back to the previous page.<BR><BR>Hope this helps... Cheers!<BR><BR>

  3. #3
    Join Date
    Dec 1969
    Posts
    30

    Default RE: ok...another stupid question...Please help?

    You can use an activex control which will access the IE API&#039s so that you can do wonders. You&#039ll be able to access any objects in the explorer. there is a class called cshmtl(I think I&#039ve not misspelled it, U&#039ll get more info from MSDN), USing that class you can create your activex control. Hope this would help.<BR><BR>Suraj

  4. #4
    Join Date
    Dec 1969
    Posts
    760

    Default RE: ok...another stupid question...Please help?

    You can prevent new entries into the browsers history by using<BR>location.replace(url)<BR><BR>RE:<BR>I want to keep someone from using the page back button on a browser when they get to an asp page, but I also dont want to open a new window either, is there a way to do this?<BR>Please help?


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •