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

page can't be display error

hi,

i use session for every page.in each page i submit the form and get value.if i press back button in IE previous page can't be display.without submit a form it will display the previous page.....
Expand|Select|Wrap|Line Numbers
  1. <?php
  2. session_start();
  3. if(isset($_SESSION["user"]))
  4. {
  5. print"<table width=\"950\"><tr class=\"title\"><td>";
  6. echo "User Name-".$_SESSION["user"];
  7. print"</td><td align=\"right\" valign=\"top\"> <a href=\"logout.php\" style=text-decoration:none;>Logout</a></td></tr></table>";
  8. }
  9. ?>
  10.  
Feb 29 '08 #1
6 1212
Markus
6,050 Expert 4TB
And what is your question?
Feb 29 '08 #2
And what is your question?
if i press back button go to previous page....
Feb 29 '08 #3
Markus
6,050 Expert 4TB
if i press back button go to previous page....
That's only half a question..
Feb 29 '08 #4
That's only half a question..
if i press back button i want to go previous page.but i have problem to display the previous page.
Feb 29 '08 #5
nathj
938 Expert 512MB
if i press back button i want to go previous page.but i have problem to display the previous page.
Not sure I understand teh question yet either, but here's a guess.

When you go back a page are you getting a message box about Posting information to the page? This is guess based on the fact that you daid every page submits a form.

Perhaps you could answer these questions:
1. What are trying to achieve?
2. What is happening that should not happen?
3. What is not happening that should happen?

Remeber it may be helpful for you to post the code involved - and use code tags!

Cheers
nathj
Feb 29 '08 #6
Markus
6,050 Expert 4TB
If you are trying to return to a page where you have POST submits, you will be prompted, in most modern browsers, asking whether to resubmit the info.

This cannot be bypassed as it is from the browser and not the server.

You had better get building a browser if you want to do this ;)
Feb 29 '08 #7

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

Similar topics

19
by: Joshua Beall | last post by:
Hi All, I would like to setup my site so that when a page is request that does not exist, transfer is instead passed to a certain page that I specify. For instance, if the user requests...
4
by: William LaMartin | last post by:
Is there a way to place an aspx page on a panel contained on another aspx page? I can display an HTML page on the panel using a literal can figure no way to put and aspx page there.
7
by: Yongsub Eric Shin | last post by:
Hi. I'm just a beginner in ASP.Net. I started writing codes and I keep on getting this Runtime Error page, where it says "Description: An application error occurred on the server. The current...
3
by: KJ | last post by:
Alright, I'm trying to display Ex.Message on a custom error page. Here is what I did. When an error occured I caught the error and saved it in a session variable and when the page redirected...
12
by: Logan | last post by:
Hi, I am not a very experienced asp.net developer, but have a fair idea on how it works & better idea on vb.net. My requirement is to place an asp.net page on a website - which currently has...
2
by: Kim | last post by:
I've set the "defaultRedirect" attribute of the <customErrors> tag in web.config file to the filename of the custom error page. However, ASP.NET does not display this page whenever an unhandled...
15
by: Nathan | last post by:
I have an aspx page with a data grid, some textboxes, and an update button. This page also has one html input element with type=file (not inside the data grid and runat=server). The update...
3
by: ton | last post by:
Hi, I've developed some webcontrols in VB, I'm using these in a website project If the webcontrol is getting an error I ll get the message: Server error in '/' application, and than more...
6
by: Justin.Voelker | last post by:
Can anyone clue me on on how to have my html page continue rendering past a MySQL error? If you visit www.Base2WebDesign.com, click login, type in anything for a username and password, then view...
3
by: hardieca | last post by:
Hi, I've created an n-tier app where validation rules reside in the business layer. When a webform is saved, a business object examines its state, and if some property is invalid, throws a...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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,...

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.