Forums

This topic is locked

URL Redirection?????

Posted 24 Jun 2004 10:40:51
1
has voted
24 Jun 2004 10:40:51 abdul jabbar Ishaqani posted:
I want to redirect the users, using response.redirect ("URL". How can i redirect from the Database...means i have stored all the URL in the Database Field.

Thanks.

Replies

Replied 25 Jun 2004 13:15:43
25 Jun 2004 13:15:43 Simon Martin replied:
I think what you want is something that will create the redirect link automatically, in which case you'll need to build a recordset of some sort and apend that to the redirect.

So something like this?
response.redirect("yourpage.asp?wheregoing=<%=rs("whatever"%>"

Sharing knowledge saves valuable time!

Simon
Replied 26 Jun 2004 01:34:59
26 Jun 2004 01:34:59 abdul jabbar Ishaqani replied:
Basicaly i want to redirect users.....when he select their choice from List menu or Combo box field.....and then enter the username and password....then he directed to the stored page in list menu option....where he select the choice.

How can i do this and what fields in access database i should create.

Thanks
Replied 28 Jun 2004 14:28:42
28 Jun 2004 14:28:42 Simon Martin replied:
Have you considered using a jump menu (Insert>Form>Jump Menu) populated with the results of a recordset (your list of pages to go to).

If you've restricted access to certain pages of your site using the built in DMX server behaviour then it will request a username / password before it grants access to those pages. Other, non-restricted pages, will work fine and wont require a login.

In terms of the db... it could be as simple as just a single table that holds the urls. Or if you're building your site from the DB then you would need to store data about which section the urls belong to.

If you could give a bit more information about what you want to do I will try to help you with the database design

Sharing knowledge saves valuable time!

Simon

Reply to this topic