473,398 Members | 2,165 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,398 software developers and data experts.

prevent re-posting of data

Hello, how can I prevent the re-posting of data on an auth login form.

Right now the auth form works fine, but when a user logs out and then
click the back buttom of the browser, the browser pop a windows asking
for reposting the data, if the users clicks Ok. the username/password
are submitted and he is logged in back again.

regards

.................................................. ...............
Posted via TITANnews - Uncensored Newsgroups Access
>>>at http://www.TitanNews.com <<<<
-=Every Newsgroup - Anonymous, UNCENSORED, BROADBAND Downloads=-

Jul 28 '06 #1
2 1597
Nicolas de Bari wrote:
Hello, how can I prevent the re-posting of data on an auth login form.

Right now the auth form works fine, but when a user logs out and then
click the back buttom of the browser, the browser pop a windows asking
for reposting the data, if the users clicks Ok. the username/password
are submitted and he is logged in back again.

regards

.................................................. ..............
Posted via TITANnews - Uncensored Newsgroups Access
>>>at http://www.TitanNews.com <<<<
-=Every Newsgroup - Anonymous, UNCENSORED, BROADBAND Downloads=-

I must be missing something, but if I understand you correctly a user
has to submit a username and password to log *out* of your website ?
(otherwise how can this be reposted when logging out ?)
Jul 29 '06 #2
On 2006-07-28 19:21:31 -0500, Juliette <jr*********@jokeaday.netsaid:
Nicolas de Bari wrote:
>Hello, how can I prevent the re-posting of data on an auth login form.

Right now the auth form works fine, but when a user logs out and then
click the back buttom of the browser, the browser pop a windows asking
for reposting the data, if the users clicks Ok. the username/password
are submitted and he is logged in back again.

regards

................................................. ...............
Posted via TITANnews - Uncensored Newsgroups Access
> >>>at http://www.TitanNews.com <<<<
-=Every Newsgroup - Anonymous, UNCENSORED, BROADBAND Downloads=-


I must be missing something, but if I understand you correctly a user
has to submit a username and password to log *out* of your website ?
(otherwise how can this be reposted when logging out ?)
Sorry for this misunderstanding, for now i have solved the problem
using a header('status 303 see other');

doing that, the users when logout out the application, and click on
their browser back buttom the browers send again the posted data but
they can not login back again with out retyping their user name and
password


.................................................. ...............
Posted via TITANnews - Uncensored Newsgroups Access
>>>at http://www.TitanNews.com <<<<
-=Every Newsgroup - Anonymous, UNCENSORED, BROADBAND Downloads=-

Jul 29 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Felix Wiemann | last post by:
Sometimes (but not always) the __new__ method of one of my classes returns an *existing* instance of the class. However, when it does that, the __init__ method of the existing instance is called...
5
by: Daniel | last post by:
Does anyone know how this can be done? Thanks
14
by: Ludwig77 | last post by:
I read that there are some tags that can be entered in a web page's meta tags in order to prevent web bot searching and indexing of the web page for search engines. What is the tagging that I...
3
by: Tony Maresca | last post by:
Hi. I have a class derived from a UserControl, that I want to allow others to derive controls from. I don't want them to design the base class (which is derived from a UserControl). I know that...
2
by: techfuzz | last post by:
I scoured this group and others looking for the best way to disable a button after the first click to prevent multiple submissions, but never did find anything that worked like they said it would. ...
0
by: Frankie | last post by:
When I want to prevent a page from being cached, I have been using the following directive: <%@ OutputCache Location="none" %> I have also seen a few other methods recommended to prevent page...
9
by: Larry Woods | last post by:
I have a method in my base class that I want ALL derived classes to use. But, I find that I can create a "Shadow" method in my derived class that "overrides" the method in my base class. Can't...
24
by: Charles Law | last post by:
When I click a button I don't want the click event to fire. Is this possible? In fact, what I would really like is to be able to intercept the click event, perform some action, and then prevent...
5
by: NEWSGROUPS | last post by:
I have some users that continuously end task on my database when a search takes to long. In turn corrupting the application. Is there any way to prevent this? The Microsoft KB for Methods That Can...
13
by: ts-dev | last post by:
Is it possible to prevent modification of a python file once its been deployed? File permissions of the OS could be used..but that doesn't seem very secure. The root of my question is verifying...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.