Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

conditional navigation problem

Status
Not open for further replies.

a0000

Programmer
Mar 17, 2000
9
GB
Hi all,
I have two pages.
The first one presents a menu referencing database objects
that the user can edit / delete; The second allows this editing or deleting.

I want to stop the user from going back to the first page after she/ he has used
the second page. How can this be done?

I have tried using history.previous to check the value of the calling page's url
but this method is unsatifactory as it depends on the user giving privilages.
I don't want to use cgi if possible nor do I want to use cookies.

I'd like the solution to be applicable as far a possible to ie as well as nestscape.


Has anyone got any Ideas???

thanks very much



[sig][/sig]
 
Without using cookies you're going to have a tough time. What's the reason you don't want them to return to the first page.

If you're not using CGI, what are you using? you didn't say. [sig]<p>nick bulka<br><a href=mailto: > </a><br><a href= </a><br>Get your technical books at Bulka's Books<br>
[/sig]
 
NickBulka,

Thanks for your reply.
I don't really have a reason for not using cookies, it's just I was trying to find an alternative.

As regards CGI: I'm using CGI/DBI to get the stuff into / out of the database but I was hoping to handle this navigation problem client-side.

If there is no other way of doing it, I'll have to use cookies.

Any further suggestions?
thanks in anticipation
a0000


[sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top