Login dynamic redirect extension

so my problem is that every time i test it i get redirected
to the wrong password page i'm sure that my passwords are correct
etc
this is the code that the extension generates

that should be rather easy with ADDT:
<br />
<br />1. add another varchar field to your user_table to store the user´s "own specific page" URL, say "my_page"
<br />
<br />2. on the page that´s been defined as "default redirect on success" (say, success.php) in ADDT´s "Login Settings", define a query like e.g. "SELECT my_page FROM user_table WHERE user_id" equals the kt_login_id session variable.
<br />
<br />3. in case the session isn´t detected
<i>(it usually isn´t except for ADDT´s lists)</i>, add...
<br />
<br /><?php<br />session_start();<br />?>
<br />
<br />on top of "success.php"
<br />
<br />4. now simply make sure that your PHP redirection will contain the recordset value, like this:
<br />
<br /><?php<br />header('Location: '.$row_queryname['my_page'].'') ;<br />?>
<br />
<br />Never tried this myself, but to my understanding this should work -- if not, I´ll eat my hat, promised ;-)
<br />
<br />Günter Schenk
<br />Adobe Community Expert, Dreamweaver

Similar Messages

  • Login User with Dynamic Redirect

    Hi,
    I have used the "Login User with Dynamic Redirect" with asp
    VBScript. But
    now I´m going to make a PHP/MySql site.
    Does anybody know of a extension that can make dynamic
    redirection from
    logon page.??
    /mike.

    Michael wrote:
    > I have used the "Login User with Dynamic Redirect" with
    asp VBScript. But
    > now I�m going to make a PHP/MySql site.
    > Does anybody know of a extension that can make dynamic
    redirection from
    > logon page.??
    You don't need an extension. The built-in Log In User server
    behavior
    does it.
    David Powers, Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Dynamic redirect on successfull login

    ok i have got the normal priviledge login working great but
    what i would like to do is this..
    i am using mysql/php and running on a test server win xp
    using the phpdev server setup from firepages all working perfectly.
    User table consists of several rows but the main one in
    question contains a field called start_page with a url in the form
    of /subdirectory/urlname.php this is a subdirectory of the
    directory holding the login page.
    what i would like to do is using the login behaviour if
    possible redirect the customer (2 types) or admin to their own
    start page (contained in the start_page field in the database
    record).
    i have tried using the parameter settings in login behaviour
    to dynamically set the url from the record set (record set contains
    the username password and start_page) however this just throws up
    an error in the code.
    the reason i want to do this is to eliminate the need for 3
    separate forms to login each user type (which would work as i have
    it that way now) however i would prefer to process the one login
    form with the behaviour and dynamically redirect to the correct
    start_page based on the record value..
    ps i am ok with adapting code to a certain extent but am in
    the process of getting to grips with php (normal asp coder)
    thanks for your help in advance. these forums are a goldmine
    tom

    Sorry don't know PHP but in ASP I would add an 'access_group'
    column in my db. On the login page I would then script the page to
    allow username and password access to the start page and show items
    depending on 'access_group' leve.
    Perhaps something like:
    <% If Session(""MM_UserAuthorisation") = "customer_type1"
    Then %>
    Redirect script or HTML to show appropriate information would
    go here.
    <% End If %>
    Hope this is of some help. Forgive me it may not be the best
    solution but along the lines of what I would try doing.
    Jules

  • XSLT Redirect extension in SAP PI

    Hi,
    We are trying to use XSLT redirect function PI 7.11 mapping. I can't find the actual class path name for Redirect class XSLT processor used in PI which I believe is XALAN.
    The XSLT syntax i am trying is:
    ?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"               
                        xmlns:redirect="com.sun.org.apache.xalan.xslt.extensions.Redirect"
                        extension-element-prefixes="redirect"> 
    <redirect:write>
    <redirect:write>
    When I test this mapping I am getting following error message.
    javax.xml.transform.TransformerException: Unrecognized XSLTC extension 'com.sun.org.apache.xalan.xslt.extensions.Redirect:write' at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.postErrorToListener(TransformerImpl.java:717) at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:669)
    I just need to know the correct class path name in xmlns:redirect attribute.
    Can anyone please let me know location of Java docs for com.sun.org.apache.xalan package?

    We are trying to use XSLT redirect function PI 7.11 mapping. I can't find the actual class path name for Redirect class XSLT processor used in PI which I believe is XALAN.
    This is not possible and does not make any sense at all. You cannot redirect the output inside a PI mapping.

  • Agent Login to another extension

    Dears
    We are using IPCC 7.1 ,CCM 4.2.3 with CVP 3.1, now when the agent is logged to EXT xxxx and the Same agent tried to login to another extension but the error message (agent with id xx is alreday logged on to instrument xx to use insturment zz pls log out first) we changed the registry key to permit to login to another Ext and terminate the first session under the CTIOS server as below((KEY_LOCAL_MACHINE\SOFTWARE\Cisco Systems Inc.\CtiOs\<CTIOS InstanceName>\<CTIOSServerName>\ EnterpriseDesktopSettings\All Desktops\Login\ConnectionProfiles\Name\RejectIfAlreadyLoggedIn"=0) but its not working

    Did you recycle the services after making the registry change?
    david

  • Action Extension - Dynamic redirect

    Hi,
    I need to have an authorization policy on Access Manager that perform
    a redirect to an url that changes based on user information.
    I have taken a look to the Novell Access Manager Developer Kit. Anyway,
    it looks like I can only define permit and deny action without a
    destination url. Is it true?
    Does exist a way to redirect the user to a specific url from an action
    extension?
    Thanks. Best regards,
    Alessandro
    afolli
    afolli's Profile: http://forums.novell.com/member.php?userid=6964
    View this thread: http://forums.novell.com/showthread.php?t=432170

    Hi All,
    the Technical Support confirmed that there is currently no way to
    achieve this.
    If you need a similar feature, you can create another Request For
    Enhancement in the Requirements Portal ( www.novell.com/rms ).
    Best regards,
    Alessandro
    afolli;2073871 Wrote:
    > Hi,
    > I need to have an authorization policy on Access Manager that perform
    > a redirect to an url that changes based on user information.
    >
    > I have taken a look to the Novell Access Manager Developer Kit. Anyway,
    > it looks like I can only define permit and deny action without a
    > destination url. Is it true?
    >
    > Does exist a way to redirect the user to a specific url from an action
    > extension?
    >
    > Thanks. Best regards,
    >
    > Alessandro
    afolli
    afolli's Profile: http://forums.novell.com/member.php?userid=6964
    View this thread: http://forums.novell.com/showthread.php?t=432170

  • Dynamic Redirect

    Can you someone help me create a login based on a mysql table that includes username password and url, and the user is redirected based on their username?
    Do I create some kind of recordset base on the username? I tried to do it and the page does not even load. Can I get some kind of theory of this can be achieved using the ADDT? Or maybe even a walk through.

    Hi,
    I think this should be rather easy :: on the standard "redirect after login" page defined in ADDT´s Control Panel, you´d probably just need to...
    1. add on line 1 to make sure that page will detect the ADDT session variables
    2. add a query which will check the url against the currently logged in user´s "id" -- example:
    "SELECT url FROM user_table WHERE id" equals the session variable "kt_login_id"
    3. immediately after the query, and preceeding the pages "DOCTYPE html PUBLIC etc etc" html stuff, add a standard PHP redirection script, example:
    now the somewhat tricky part will be to add the query´s "url" value to that redirection URL -- means you will have add...
    $row_queryname['url'];
    after e.g. the abovementioned URL´s trailing slash. As this approach is meant to add a dynamic variable inside an otherwise static value that´s already starting/ending with apostrophes (''), you assumingly will have to embed the variable within additional apostrophes as well, like this:
    does this work ?
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • How can I export my Active logins and my extensions list to my new laptop (( I'm using Firefox 3.6.4 and Win. 7 on both ))

    I just want to export my big "login" list as because of depending on firefox to remember it and automaticly retype it I 've forgetten many of them! so if I can move this list to my laptop it would be easier and greater than login to every site and fourm I've joined and re-join again and lose my member or I've to ask a new password from each site then go to my email and login then change the password to the old one, it would be very nasty to do this to all of my logins!.
    and also can I move my installed extensions with there currently option to firefox in my laptop having the same version of firefox "3.6.4" or I've to install them again in the laptop?.
    Note: both my computer and the new laptop running on Windows 7 professional OEM and having the same firefox version

    See http://kb.mozillazine.org/Password_Manager#Backing_up_and_restoring_passwords
    Password Exporter: https://addons.mozilla.org/firefox/addon/2848
    http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    http://kb.mozillazine.org/Moving_your_profile_folder
    http://kb.mozillazine.org/Profile_backup

  • JAAS Login Module Redirect to Iview

    I am having some difficulty getting a redirect to an Iview to work in our custom JAAS Login Module.  This code works in our current production environment, using Portal version EP6.0 SP2 Patch 35:
    callbacks[0] = new com.sap.security.api.logon.WebCallback();
    HttpServletResponse rsp = ((WebCallback) callbacks[0]).getResponse();
    rsp.sendRedirect(this.changepasswordurl + this.username);  //get url from property
    But this nearly identical code is not working in our development environment, running NetWeaver:
    WebCallback wcb = new WebCallback ();
    this.callbackHandler.handle(new Callback [] {wcb});
    HttpServletResponse rsp = wcb.getResponse();
    myLoc.infoT("URL: " + this.changepasswordurl + this.username);
    rsp.sendRedirect(this.changepasswordurl + this.username); //get url from property
    When the rsp.sendRedirect statement is executed, I get a stack dump:
    #1.5#00306EF4D7AD0048000000550000576000040C5F45EBE199#1139503241315#com.nike.portal.auth.PortalLoginModule#sap.com/irj#com.nike.portal.auth.PortalLoginModule#Guest#192####cd56b800998a11da8f7300306ef4d7ad#SAPEngine_Application_Thread[impl:3]_9##0#0#Info##Plain###URL: https://dev.XXXXX.com/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fnikeconnect!2fiviews!2fcommon!2fMyInfo!2f1-com-nike-iv_b2s-change-password?userid=ncportal02@yahoo.com#on!2fMyInfo!2f1-com-nike-iv_b2s-change-password?userid=ncportal02@yahoo.com#
    #1.5#00306EF4D7AD0048000000570000576000040C5F45EC2971#1139503241326#com.sap.engine.services.security#sap.com/irj#com.sap.engine.services.security#Guest#192####cd56b800998a11da8f7300306ef4d7ad#SAPEngine_Application_Thread[impl:3]_9##0#0#Error##Java###Error in some of the login modules.
    [EXCEPTION]
    #1#com.sap.engine.services.security.exceptions.BaseLoginException: Error in some of the login modules.
            at com.sap.engine.services.security.login.ModulesProcessAction.run(ModulesProcessAction.java:149)
            at java.security.AccessController.doPrivileged(Native Method)
            at com.sap.engine.services.security.login.FastLoginContext.login(FastLoginContext.java:153)
            at com.sap.engine.system.SystemLoginModule.login(SystemLoginModule.java:90)
            at sun.reflect.GeneratedMethodAccessor260.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
    When I cut the exact URL being redirected to from the trace log and paste it into a browser, it goes to the page just fine.
    Can anyone suggest a different method of performing a redirect from withing my JAAS Login Module in NetWeaver?  I'm thinking maybe I'm not getting the response object properly - any ideas?
    Thank you...
    Dave

    Thanks for the pointers.  We were able to get an SAP developer to take a look at this and he coded up this solution, which takes what you suggested and filled in all the blanks.  I am baffled as to how I would have figured this out on my own (like the RESPONSE_CODE value of 302), given the limited documentation around the HttpCallback.  We haven't had the opportunity to try this yet - I'll respond with a new post either way to let you know.  Anyway, here's the code snippet for how to perform a redirect:
    In the custom JAAS Login Module:
    setRedirect(callbackHandler, this.changepasswordurl);
    This is the setRedirect method:
    private void setRedirect(CallbackHandler ch, String redirectURL)
          throws IOException, UnsupportedCallbackException
        HttpSetterCallback setRCodeCB = new HttpSetterCallback();
        setRCodeCB.setType(HttpCallback.RESPONSE_CODE);
        setRCodeCB.setName("Moved Temporarily");
        setRCodeCB.setValue("302");
        HttpSetterCallback setRedirCB = new HttpSetterCallback();
        setRedirCB.setType(HttpCallback.HEADER);
        setRedirCB.setName("Location");
        setRedirCB.setValue(redirectURL);
        Callback[] cbSetter = new Callback[2];
        cbSetter[0] = setRCodeCB;
        cbSetter[1] = setRedirCB;
        ch.handle(cbSetter);

  • Immediate login, custom redirect not working correctly

    I have a page with some conditional regions on it: show if user is logged in, else show something else. That sort of thing.
    This page is a tease to convince users to register so there a prominent "If you're a member, log in here, if not register for free."
    If someone clicks the Register button, they are taken to the registration page along with a url variable to identify the place they've just come from.
    The registration page has an Immediate Login trigger on it - which has always worked without a hitch.
    The registration page also has some conditional redirect triggers attached to the registration insert. The conditional redirect triggers GET the url variable being passed and if the condition is matched, the registration page sends them back where they came from - just like a login function would - registered and now logged in due to the immediate login trigger.
    This has all worked wonderfully until this past weekend when the whole system fell apart.
    For reasons unknown, the immediate login has stopped working. The redirect continues to work but people are correctly returned to the page with the logged in/logged out conditional regions but doing so without getting logged in, so of course they see the same stuff they just saw - stuff telling them to register or login.
    Immediate login continues from every other direction, just this particular set of redirections seems to totally wonk out the person returning from the registration page properly logged in.
    Anyone with any experience with this kind of thing? It's very essential to the way my web operation works.
    I deeply appreciate any interest or advice.

    Nope. This is the strangest thing I've encountered.
    After changing the conditional trigger to AFTER, it worked once. I logged out to test again. Now it's right back to not working. Shut down the browser too.
    As before, the redirect works as it's supposed to but the user gets redirected without being logged in.

  • Exchange panel could not login when installing extensions

    Hello,
    I've installed Exchange Panel and run it in PS CS6/64. When I want to install an extension, the panel shows only, that it is login in, but no farther action takes place. I've deleted opm.db. Then a login panel appeared and I loged in. But again the exchange panel only showed, that it was loggin in - for several minutes untill I closed it.
    On my laptop (ps cs6/32) everything works. Both machines run with win7. Could you help me?
    With best regards, Moritz

    Hi Moritz,
    To determine what is going wrong, can you provide me with the information outlined in my response (reply 1) in the following forum post: http://forums.adobe.com/message/5823593#5823593#
    Additionally, as the login process relies on a series of events, can you set up logging to capture the events sent by:
    1) Edit as an Administrator C:\Program Files\Common Files\Adobe\CS6ServiceManager\configuration\StartupOptions.xml
    2) Increase the log level to 6:
    <vcentry key="loglevel">
      <vcint>6</vcint>
    </vcentry>
    3) Save the file
    4) Open Task Manager and kill the process CS6ServiceManager
    5) Repeat the steps above to reproduce logging failing
    6) Gather the log file from C:\Users\<username>\AppData\Roaming\Adobe\CS7ServiceManager\logs\
    7) Send the log files to me at lesavage at adobe dot com
    Thanks,
    Lea

  • Can't Login, Bad Redirect

    Hi all,
    I've created this new Apple ID so that I can post. Trying to login to Discussions using my normal Apple ID, I am consistently redirected to https://discussions.apple.com/backsoon/error.html, even though I am inputting my correct ID from a current URL. In fact, this happens whether I attempt to login from the top level login or from links on the sub-level forums. And it happens even though I have tried with Chrome, Safari, and Firefox both before and after emptying my caches, history, and cookies, and deleting all Apple information in my password preferences in all three browsers.
    What the heck is up?
    Thanks,
    Franz

    Franz
    You clearly have had some experience troubleshooting. you have proved:
    By being able to create an AppleID and then post this question, it is NOT Hardware, OS, Browser, etc, etc....
    That by using all the browsers listed AND being able to create & post that it IS related solely to that misbehaving AppleID
    FYI, the "Back Soon - Sticky Note" page is usually displayed when site is down for Maintenence - i.e., they know in advance that they need to put the redirect into effect. It could have other uses, intentionally, but it really doesn't seem appropriate for this issue
    I think I am correct in pointing you to this link =>  Support_Feedback - but this might not be the most expeditious way to get help. Copy/Paste your OP at this link because it is very thorough.
    But it may be that one of the Upper Levelers will be kind enough to draw your problem to the attention of the Hosts.
    CCC

  • Issue in redirecting to portal page from SSO login page

    HI facing issue while redirecting to portal application from SSO login page.please find below basic details
    the application comprises of TAM / Apache / Weblogic, and all the request goes in the same order.
    When the application is deployed as portlet, the jsp page some how hard codes the apache host name, that in turn blocks any form submit or Ajax action.
    so on successful login the redirection is not happening to required portal page as it includes apache host name in the url consrtucted.
    Please suggest me what are the configurations that I need to verify .
    Thanks in Advance
    Jetti.

    If you upgrade to v7.1 you will have all those features and more - PLUS a lot of defective pieces have been fixed in 7.1

  • Problems joining Wi-Fi networks that require viewing a redirect page in iOS 8.1.1? Check your "Auto-Login" setting.

    Are you having problems joining previously used Wi-Fi networks that require you to view a login or redirect page (say to accept Terms of Use) first?  The problem could be your Auto-Login Wi-Fi network setting.
    I found numerous cases where I could not access in-store Wi-Fi networks (Nordstrom was one), hotel networks or in fact networks where you had to first view a Terms and Conditions page or where you had to login via a web form.
    These were all networks I had used before.
    This appears to be due to the "Auto-Login" setting assuming that once you (re)join a previously known network you can just go ahead and use it without further action. When the iOS device receives an error trying to use the network, it silently drops the Wi-Fi association.
    If this is happening to you, follow these steps:
    1) Go to Settings -> Wi-Fi
    2) Select the network you want to join
    3) When a check-mark appears next to the SSID, press the "i" button on the right hand side
    4) Set Auto-Join however you want, but shut off the Auto-Login switch
    5) Now attempt to use the network and you should be presented with the usual redirect page with terms you must accept or where you must login to use the Wi-Fi network in question
    This cleared up the issue for me everywhere I had previously been having issues.

    Just let me get one thing straight...you don't change don't do this for the PC you have your router plugged in to?
    "For Vista:
    1. Open Control Panel, Network and Internet, Network and Sharing Center, Manage Network Connections
    2. If Wireless, Right click on your Wireless Network Connection, otherwise, Right click on Local Area Connection and click Properties
    3. Highlight Internet Protocol Version 4(TCP/IPv4)
    4. Click Properties
    5. Tick Use the Following IP Address and enter the IP you want to use for that PC. I would start at 192.168.0.100(D-Link) and work your way up on each additional device. The second device would be 192.168.0.101, the 3rd, 192.168.0.102 and so on. Like I said, different brands of routers use different IP's, so it could be 192.168.1.100 and so on, so you will need to know the IP address of your router first.
    6. Subnet Mask is 255.255.255.0 on all pc's and devices
    7. Default Gateway is 192.168.0.1(D-Link) or whatever your router's IP is on all pc's and devices
    8. Tick Use the Following DNS Server Address and enter 192.168.0.1(D-Link) or whatever your router's IP is and click OK.
    9. You will need to do this on all Vista Pc's"

  • Web Auth Type: Customized(downloaded) Redirect URL after login not working.

             5508WLC as anchor controller with WLC1 and WLC2 with WCS. I have 2 public ssids set up to go directly to the internet.
    Everything is working as it should.  I downloaded the web auth bundle from Cisco and  will just use a disclaimer page and then if the user clicks on the accept button they will be redirected to our company web page, and then they can get out to the internet.
    I have edited the aup.html and login.html to say what I want it to.  I have 2 different login.html pages and bundle to a .tar file like the documentation says.  I download it via tftp to the controller and it is successful. The disclaimer page opens up when I connect and it looks as it should.  The problem is I cannot seem to get the accept button to work. It redirects to a web page but it is undefined. 
       I must be missing some setting somewhere, but I just can not seem to find it.  Is there any line I need to edit in the login.html files that will redirect the page.    The config on the Web Login Page  Redirect URL after login is http://www.mccg.org which is our home page.
    Any help will be appreciated.  I cannot seem to fine very good documentation, or I am just overlooking something.
    Thanks
    John   

    Your HTML code is wrong. Attach your code if your okay with it and I can check.
    Sent from Cisco Technical Support iPhone App

Maybe you are looking for

  • OATS - Playback is not working in OpenScript for Load Testing with Web/Http

    Hi, I am able to record the script in Open Script successfully, but when I try to playback the same without making any changes....its fails with error : Failed to solve variable web.input.Submit using path .//input[@name='Submit']/@value I have alrea

  • PSD Thumbnails in Windows 7, SOME SHOW UP!?!!

    If someone could help me with this, I'd be ever so grateful! With Windows Vista and Windows 7 now, I do not get thumbnail previews of the .psd files when viewing the files in the standard windows.  I've come to accept this.  But, when I upgraded to P

  • Parallax and 3d transformations

    Hi all, I'm looking for a way to do the following: * define position of elements onscreen  by x,y and z coords (in xml to apply to loaded images later) * position loaded images at those coords _without_ the scaling but with other 3D effects still sho

  • Single page exportation pdf

    Hello! I usually work on my Indesign document double spreaded and what I need to send to my printer is a single page pdf with 3mm bleed. Bleed is related to the 4 sides of each single page: the side of the spine includes me a short bit 3mm of the oth

  • Need Advice on Purchasing RoboHelp

    I'm considering purchasing RoboHelp, but I've also looked at some less expensive alternatives like RoboAuthor. My main purpose for this application would be to convert previously printed technical manuals to an online format. Can anyone offer some ad