Announcement

Collapse
No announcement yet.

Script to check if logged in?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Script to check if logged in?

    Hi,

    I am running a site with custom templates, lots of hard coded links to sections i.e. http://www.citnexus.co.uk/acatalog/C..._Products.html

    Problem is, when a user logs in if they click these links they do not get to see their custom pricing as they're looking at a static page as opposed to the html generated one.

    We like the templates this way as they are search engine friendly, BUT...

    Does anyone know of a script that if a logged in user links to a static page they will automatically be redirected to the cgi-bin version?

    • Normal non-logged-in users will never be redirected.
    • Logged in users will use the site as normal, BUT, if they click a hard coded link to a page the script will notice they're logged in and forward them to the appropriate cgi-bin based URL...


    If that makes sense!?!

    Many thanks, Sam

    #2
    Sam,

    I would need a demo username and password to see how the site operates when logged in, this will give me a clearer peicture of the problem and what can be done.

    Kind regards,
    Bruce King
    SellerDeck

    Comment

    Working...
    X