Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 Referrer?

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert Email Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
rmmarsh Posted - 07 Oct 2010 : 23:04:14
I have two web pages that need to be protected. In my menu,which consists of a group name, and when you hover over it, it displays the sub-menus (I'm using AllWebMenus Pro). Each sub-menu links to the same password page for both pages. Is it possible, without having multiple password pages, to determine which menu button was clicked, so once passing the security check, I can go to the proper page?
1   L A T E S T    R E P L I E S    (Newest First)
s.dav Posted - 08 Oct 2010 : 09:01:52
Without knowing the structure of your site you can act in this way (using ASP or PHP code)

1- use a parameter in your link for knowing the referrer page

(ex. from "Menu item 1" use the link "myprotectedpage.ext?from=1"
from "Menu item 2" use the link "myprotectedpage.ext?from=2")

2- in the "protectedpage.ext" (this is your destination page) you have to add a piece of PHP or ASP code and you need to read the "from" parameter (in ASP simply using Request.Querystring("from"), in PHP should be something like $GET["from"])

3- redirect to the page you want


Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000