473,395 Members | 1,466 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,395 software developers and data experts.

How do i direct from page to page

Hi,

When i click back button from , say, PAGE-A and go to PAGE-B and When i click forward button of browser, How should i redirect it PAGE-C

eg:

Page-B enter ur details----> click submit
Page-A -----> successful registration
Now click back button on the browser on Page-A
Page-A to page-B
Now click forward button on Page-B
It should be directed to Page-C instead of Page-A as the details are already registered.

Any help asap will be appreciated.

Thanks in advance
Jun 19 '07 #1
3 1522
r035198x
13,262 8TB
Hi,

When i click back button from , say, PAGE-A and go to PAGE-B and When i click forward button of browser, How should i redirect it PAGE-C

eg:

Page-B enter ur details----> click submit
Page-A -----> successful registration
Now click back button on the browser on Page-A
Page-A to page-B
Now click forward button on Page-B
It should be directed to Page-C instead of Page-A as the details are already registered.

Any help asap will be appreciated.

Thanks in advance
I don't see the direct connection with Java so this goes to the Javascript forum for now.
Jun 19 '07 #2
epots9
1,351 Expert 1GB
Hi,

When i click back button from , say, PAGE-A and go to PAGE-B and When i click forward button of browser, How should i redirect it PAGE-C

eg:

Page-B enter ur details----> click submit
Page-A -----> successful registration
Now click back button on the browser on Page-A
Page-A to page-B
Now click forward button on Page-B
It should be directed to Page-C instead of Page-A as the details are already registered.

Any help asap will be appreciated.

Thanks in advance
where and how are u storing these details? cuz they might not still be there..
Jun 19 '07 #3
shoonya
161 100+
I think you have establish the session either using any server script (eg php)
or simply setting the cookie using javascript

have a check on each page to track the navigation
after registration set cookie_value=registered_user
if user clicks forward then the page A will check the cookie if registered it wil redirect user to C

hope this works
shoonya
Jun 20 '07 #4

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

Similar topics

2
by: David | last post by:
Hi, I have an asp page which basically takes some data from a previous page form and inserts the data to my database and then does a re-direct to: Response.Redirect "JS_Create.asp" On this...
1
by: acrocker | last post by:
I would like to provide access to users who need to be taken directly to the relevant page without further navigation instructions. Unfortunately the page I want to access is built using a...
10
by: Alex Greem | last post by:
Dear all, Our database (DB2 Workgroup 7.2 FP12) is constantly under heavy load. Most time CPU usage (1 Pentium3 1Ghz) is more 50% busy. We have 3GB RAM memory Our normal workload is 200-300...
3
by: Tony | last post by:
At http://www.quirksmode.org/js/placejs.html I found a discussion on how & where to place your javascript. Toward the bottom of the page, PPK has a section titled Deprecated: Direct JavaScripts,...
5
by: Bill Davidson | last post by:
All: Pardon the newbie question, but let's say I've got two pages in my website: Welcome.aspx NoNav.aspx I want users to be able to navigate to the welcome.aspx page (e.g....
5
by: Remco van Engelen | last post by:
Hello, I have a question regarding the ISO C grammar. The syntax of a direct-declarator reads (section A.2.2, page 413 in my copy; the (R1) is just to 'name' the rule for later reference): ...
4
by: jobs | last post by:
Hello. If my users are logged in, and try to access restricted pages I want to direct them to a custom 403 page. If they are not logged in, I would like to continue to direct them to the login...
2
by: upendrajpr | last post by:
Dear frindes, I am new to php. in my 'php' code when someone login into my page he/she awail the necessary page rights, it's quite ok. but when it click on the page and someone direct copy & paste...
0
by: Ken | last post by:
Hi, I created web application using asp.net 2.0 and vb.net. some weird things happened. when I click the enter key on keyboard then it direct to the home page. when I click the backspace key on...
2
oranoos3000
by: oranoos3000 | last post by:
hi I have a login page in my site for login member I want to any user that arrival correctly directly go to page1.php I use header statement(header("Location: page1.php")) in middle page that...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
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?
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
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.