473,383 Members | 1,877 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Refresh the page after use

123 100+
Hi ,
I have one survey page of product in my site
I want ,IF one person completes the survey and continue with something else,then if he use the back button , the things he has selected in the form should no be appear.And also the session for that page should be expired

Expand|Select|Wrap|Line Numbers
  1. <META HTTP-EQUIV=Refresh CONTENT="20">  we can use.But i don't want to give the specific time.
  2.  
Thanks.
Apr 29 '08 #1
5 1360
Markus
6,050 Expert 4TB
Hi ,
I have one survey page of product in my site
I want ,IF one person completes the survey and continue with something else,then if he use the back button , the things he has selected in the form should no be appear.And also the session for that page should be expired

Expand|Select|Wrap|Line Numbers
  1. <META HTTP-EQUIV=Refresh CONTENT="20">  we can use.But i don't want to give the specific time.
  2.  
Thanks.
Impossible (pretty much).
When you hit the back button, you typically view a cached version of the page. And to counter this, you'd likely have to build your own browser!
Apr 29 '08 #2
hsriat
1,654 Expert 1GB
Hi ,
I have one survey page of product in my site
I want ,IF one person completes the survey and continue with something else,then if he use the back button , the things he has selected in the form should no be appear.And also the session for that page should be expired

Expand|Select|Wrap|Line Numbers
  1. <META HTTP-EQUIV=Refresh CONTENT="20">  we can use.But i don't want to give the specific time.
  2.  
Thanks.
Provide autocomplete="off" to each input tag for the first thing.
Apr 30 '08 #3
ajd335
123 100+
Provide autocomplete="off" to each input tag for the first thing.

Hi,
autocomplete ="off" is working .. But i want to use java script..and that also not using the timelimit...
how can i do that...Thanks
May 1 '08 #4
hsriat
1,654 Expert 1GB
Hi,
autocomplete ="off" is working .. But i want to use java script..and that also not using the timelimit...
how can i do that...Thanks
I'm not quite sure about what you want, but try to call a PHP script through Ajax, onload of the body of the survey page, which would do session_destroy().
May 1 '08 #5
ajd335
123 100+
I'm not quite sure about what you want, but try to call a PHP script through Ajax, onload of the body of the survey page, which would do session_destroy().

Yeah ,one more thing..autocomplete="off" is not working for

Expand|Select|Wrap|Line Numbers
  1. <textarea cols="50" rows="4" name="comment" maxlength="200" autocomplete="off" ></textarea>
  2.  
May 1 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Scott | last post by:
I have a clickable graph that resides on page 1. If user clicks a data point on the graph, the page runs again yeilding a 2nd graph that shows a more detailed graph. Problem is, I have a...
1
by: Marco Maroni | last post by:
How to force image refresh on client browser ? Is ti possible to force the refresh of the same image (tha was changed server-side) to the client, without user press Contrl+F5 in IE ? - Marco
2
by: Jeronimo Bertran | last post by:
Hi, I have a page with a very data intensive grid which needs to be automatically refreshed constantly if a change is detected. In order to not refresh the complete page so often, I created an...
1
by: francois | last post by:
I have a ASPX form with a dropdownlist that makes a post back (to the same page of course, just a normal asp.net postback) That page also has an auto refresh javascript as it needs to refresh its...
9
by: PK9 | last post by:
I'm having an issue with the "Refresh" of an asp.net page. The refresh is actually calling my last onClick event. I thought that asp.net was supposed to be stateless in that it shouldn't...
0
by: Brad White | last post by:
Overview: I have a custom web app that has an 'Inbox' that refreshes every 30 seconds. One user uses Outlook to host the web page. Using IE, the refresh works fine. If the user is working in...
3
by: Kevin | last post by:
Hi guys, I want to refresh some pages every 2 seconds. however, these html pages are not in my site, they could be any pages from yahoo.com or msn.com. I can create a page, which redirect to...
8
by: Jason S | last post by:
Hi, is there any way of getting my VB (6.0) program to automatically 'Refresh' an IE window that might be active (window status not applicable). It needs to be able to determine which active IE...
10
by: phforum | last post by:
Hi, I wrote a PHP page for user input the information to search the database. And the database data will update every second. I want to set the auto refresh to get the data from database every...
5
by: =?Utf-8?B?Sm9obg==?= | last post by:
Hi, I used the following code to refresh the parent page, and it works very well (Thanks to Peter Bromberg "). Response.Write("<script language='javascript' type='text/javascript'{...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.