Problem with Restrict Access to Page with access level using ASP

I'm using Dreamweaver CS3 with ASP-VBScript and an Access
database. The pages were created from scratch for this project,
using those tools all the way through.
I've created a login page, an admin homepage, and add, edit,
and list records pages for three tables. The login page uses the
Server Behavior "Log in User", all other pages use the Server
Behavior "Restrict Access to Page". All of these are based on an
Access Level.
Login seems to work correctly, and redirects to the admin
homepage. From the admin homepage, I can open any other page as
expected, and they initially display correctly. On the add and edit
pages, however,
submitting the form often results in getting logged out, but
not always.
Once this happens, I can log back in, but other problems will
sometimes occur during that second login session. Sometimes,
logouts will occur on pages that worked fine during the first login
session. Sometimes, another session variable that I've setup
manually will change when it shouldn't...as if there were two
values stored for my session variable, and reloading the page
changes to the other value.
This
post seems closest to my experience, but it doesn't look like
there was really an answer beyond "I had to fight with it for a bit
to get it to work":
I suspected that there is some problem with session settings
on the server. We have an almost identical tool on the same server
that was developed with an older version of DW that works more
reliably; it sometimes has problems with the initial login, but
never has a problem after that.
Has anyone experienced problems like this? Any suggestions
for what to check? I'm really pulling my hair out since it's so
unreliable...the kind of problem that goes away when you try to
show someone and comes back when they leave.

Hello,
I was thinking that all I would need would be the username, although username and paswsword would be more secure.  There are about 50 users and no groups or levels.  They are all equal ... same level.
The website is private and there is a general content area for all users and then there will be private areas for each user where proprietary documents will be held.  I need to be able to ensure that user 'A' can only see the user 'A' pages, user 'B' can only see user 'B', etc.
I don't really understand what the Dreamweaver script is doing, but the overview sounded like it was the right tool to accomplish what I'm trying to do.
Any assistance greatly appreciated.
thanks.

Similar Messages

  • Customize Access Requried page with code behind attached to it in sharepoint 2010

    Hi,
    I have modified default AccessDenied page to my custom accessdenied.aspx page and put Request Access button on it and javascript client side redirection to my requestaccess (reqestaccess.aspx, reqestaccess.aspx.cs) application page.
    Here the problem is whenever i try to redirect to custom requesaccess page in _layouts it again shows me accessdenied page since user is not having access.
    I changed requrestaccess to my custom requestaccess through Powershell command (UpdateMapping - 5). I can only modify the UI part of requestaccess.aspx and can not bind code behind where i want user to select combination of what access is required
    on the site, there are lots of controls on requestaccess page e.g. dropdown that fetches data from list\external list and so on.
    I tried many things to attach code behind to requestaccess page e.g. <%@ Page Inherits="codebehind.cs" /> and all.
    Q - How can i redirect user to custom request access page (includes both aspx, aspx.cs) and allow user to interact with custom page? Is there any way OR WORKAROUND to do this in Sharepoint 2010?
    OR
    Can we overide with ElevetedPermissions in UI\CodeBehind and show the application page to user?
    OR
    Can user access application page even though they donot have rights to access site? Anything will do.
    OR
    In short, I need to redirect a user to some .aspx\.aspx.cs page from AccessDenied page, irrespective of user having access or not. 
    I hope question is clear enough to understand the issue. :)
    Regards,
    Rahul

    Hi,
    According to your post, my understanding is that you had an issue about the custom Access Required page.
    Microsoft supported using code behind, but for these pages it seemed some difference.
    However, as a workaround, we can put all the functionality to the aspx page directly.
    http://umbraes-tower.blogspot.com/2011/10/custom-request-access-page-in.html
    More reference:
    http://onlinecoder.blogspot.com/2011/05/how-to-customize-requestaccess.html
    http://oszakiewski.net/eric/customizing-the-access-request-page-in-sharepoint-2010
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Firefox 20.0.1 with Shockwave 11.7.700.169 crashes when you access web pages with video content

    I have a problem with Firefox 20.0.1 under Windows 7 with Shockwave flash 11.7.700.169. When I access a web site / web page with some content that requires Shockwave (usually videos) I can view the video, however, when I exit Firefox, it will crash with "Firefox encountered a problem - check for a solution ...". I also have a web site "MyHeritage" that when I access a family tree I repeatedly get a message "Video driver stopped working - NVIDIA driver ... has successfully recovered". If I disable Shockwave, Firefox will not crash in both cases, unfortunately, I cannot watch any video content.
    I did go to the Adobe web site and updated what I thought was my version of Shockwave, unfortunately this installed Director for netscape V12.2, I have disabled this plug-in.
    BTW - running Firefox in safe mode (add-ons disabled) stopped my NVIDIA driver from crashing and also stopped Firefox from crashing when exiting.

    Please check if all your plugins are up-to-date using [http://mozilla.com/plugincheck Mozilla Plugin Check site].
    Once you're there, the site will check if all your plugins have the latest versions.
    If you see plugins in the list that have a yellow ''Update'' button or a red ''Update now'' button, please update these immediately.
    To do so, please click each red or yellow button. Then you should see a site that allows you to download the latest version. Double-click the downloaded file to start the installation and follow the steps mentioned in the installation procedure.

  • How to access Parent page UIComponent from inlineFrame using ADF javascript

    Hi,
    My application includes an <af:inlineFrame component on the top portion of the page. It contains a table with delete option for the end user. Requirement is after user has deleted all the records of the table and table has no records to display, inlineFrame needs to be made invisible so that the bottom portion content of my page will get stretched fully and has more visibility to the user. Hence when user click on Delete button of the table, after delete operation, I am planning to check the row count and write javascript to client using ExtendedRenderKitService to make the inlineframe invisible.
    Question:
    1. What is the right ADF javascript API to access the parent page and work with its components. I came to know we can call using 'parent.document.getElementById' but I want to know correct ADF's javascript API.
    Thanks in Advance
    Raghu

    The way you suggested didn't help me.
    Yes.. This inlineFrame content is also a part of the same application only. The reason why it is kept in inlineFrame is it is an ADS implemented table. ADS is able to push the data to the table provided we should keep the application idle. If I keep on working with the application (i.e. request/response happens because user works with the bottom portion content of the page), ADS is not able to push the data to UI. Keeping the ADS implemented table in a top portion still but inside an inlineFrame has solved this problem.
    Given below my page design
       main.jspx
       ======
       <af:form id="f1"....
           <af:inlineframe source="faces/page/employee.jspx" />
       </form>
       employee.jspx
       =========
       <af:form id="f2"
        </form>
                 In the employee.jspx only I have delete button and javascript which is suppose to find the parent page (i.e. main.jspx) and to work with inlineframe component to make it visible/invisible based on whether table gets records or no records. (This javascript call will happen with the help of ClientListener set for the ADS implemented table with event type as propertyChange) Intention is to check the row count of the table during every javascript call and to go to parent page, find the inlineframe, make it visible or invisible.
    Edited by: Raguraman on 25-Jan-2013 08:59

  • Access web page with alternate tab displayed by default

    I have a WebHelp project with a start page that displays the
    Contents tab by default. Is there a way through the URL to have a
    different tab (e.g., the Search tab) display by default? Thanks.
    Tim

    I need a way to open the same WebHelp project with the
    Contents tab displayed by default if the project is accessed
    through one method or with the Search tab displayed by default if
    the project is accessed through another method. I am using RoboHelp
    X5.0.2.
    Peter, I generated my project with the Search tab set as
    default. I viewed the start page, and the Search tab was correctly
    displayed by default. I made a copy of this start page and saved it
    to a different folder location. I regenerated my project with the
    Contents tab set as the default. I copied the alternate start page
    into the project so that I essentially had a start_contents.htm
    page and a start_search.htm page. This method was ineffective. Both
    the start_contents.htm page and the start_search.htm page now open
    with the Contents tab displayed by default.
    Is there a way through the URL to be able to specify the tab
    to display by default (sometimes the Contents tab and sometimes the
    Search tab) for the same help project, either through using
    multiple start pages (which in my test appears to be ineffective)
    or through additional code in the URL itself?

  • Accessing tab page with shortcut keys

    How to access different tabs in a tab canvas using shortcut keys?
    dipincha

    e.g. you use your oracle terminal and define:
    KEY-F0 = Ctrl-0
    KEY-F1 = Ctrl-1
    KEY-F2 = Ctrl-2
    After that you can use the forms-trigger KEY-F0 to -F9.
    In the trigger you hardcode e.g.
    KEY-F1 : go_item (<Item of first tab>)
    KEY-F2 : go_item (<Item of second tab>)
    That's it
    Gerd

  • Hanging while accessing a page with Windows Integrated security?

    Here is the code I am trying:
    HttpMethodBase method = null;
    try {   
    HttpClient client = new HttpClient();
    client.getState().setCredentials(AuthScope.ANY,
    new NTCredentials(userName, pwd, host, domain) );
    System.out.println(httpServiceURL);
    method = new GetMethod(httpServiceURL);
    method.setDoAuthentication( true );
    int status = client.executeMethod(method);
    System.out.println(status + "\n" + method.getResponseBodyAsString());
    This code works fine on stand alone java application, but when I deploy it to Weblogic.. it just hangs at GetMethod. No exception, nothing..
    when I change that to
                   method = new GetMethod();
                   method.setFollowRedirects(true);
                   method.setPath(httpServiceURL);
    It is failing at executeMethod().
    any suggestions? Thanks,

    This Weblogic... is it running as a Windows service? Under what user profile? Presumably the authentication would be based on that user profile.

  • Access dead page for access page under WEB-INF

    hi, all , I have some page is under WEB-INF , if the user direct access this kind of jsp pages, will have some 4004 statue, could I have a customer error page to instead this 404 page . thankk you!

    Thank you,
    I realize my problem and your answer make my more understand my problem, but the problem still there.String myLink = req.getParameter("myLink");
                String target = null;
                HttpSession userSession = (HttpSession) req.getSession(true);
                HttpSession session = req.getSession();
                String word=(String)session.getAttribute("said");
               // out.println(word);
                if(word.equals("")||word==null)
                 RequestDispatcher rd =
                 getServletContext().getRequestDispatcher("/error/notFound.jsp"); //under?Hello
                  rd.forward(req, response);
                else{
                target = "/WEB-INF/jsp/" + myLink;
                // at dSec.jsp id is link, so you can't use userSession.setAttribute("link", target) in here!
               // userSession.setAttribute("place", target);
                RequestDispatcher rd =
                 getServletContext().getRequestDispatcher(target);
                rd.forward(req, response);} when I direct call my http://localhost/Hello/servlet/JumpLink?myLink=test1.jsp I get and empty page , not be forward to notFound page, what I did wrong?

  • Printing on Wireless Network with iMac G4 EXTRA Page with jibberish.

    Hello folks,
    I hope to find an easy fix. In my wireless network environment there are 6 PCs and one iMac G4 Flat Panel (OSX 10.4.6) that share a wireless router, and 3 wireless print servers that have 4 different printers attached.
    Everything works very well, except, for when the iMac prints to the Lexmark Optra S 1250 printer. The very first page printed (everytime) has one line of jiberish like this:
    [%-12345X@PJL JOB @PJL LJOBINFO USERID = "username" HOSTID = "imac15.local"@JPL S
    After this very first page prints, everything that follows is printed perfectly. How do I turn off whatever it is that causes this page to print? When I print to any of the other printers it doesn't occur. It does not occur when any of the PCs print to the Lexmark either.
    I thank you all for your time and hope you can help.
    iMac G4   Mac OS X (10.4.6)   Belkin 54g router, Linksys WPS54GU2 printservers

    The question here imho is does it have to be wireless?
    If the router is close to the Macs surely Ethernet would resolve any issues and provide fast performance.
    If the XP machine is reliable wirelessly leave it wireless, you can always connect that using Ethernet if you want to transfer larger files to / from the Macs. This will also give you some convenience.
    If things must be wireless then it'll depend on how much you want to spend. Since you'll need a new fast a or g router (avoid pre-n now, wait for something confirmed to work well with Intel Mac and others). The G4 would need a Wireless Ethernet bridge to give a fast connection since USB 1.1 is just too slow or Ethernet again.
    So it depends on you realy and the location of the computers. Nothing wrong with a mixed Ethernet / Wireless network easy enough I have one
    Nothing mentioned on router site about incompatibility with Mac OS 10.4.8. Once the router is configured using the web interface or software supplied you'll need to config the computers accordingly.
    http://kbserver.netgear.com/products/MR814v2.asp

  • Access 2003 compatible with php or sql?

    I'm beginner lvl, and trying to connect an access 2003 database table to a website.
    I'm hoping it will be able to submit, and upload from this table. I'm looking into sql and php. 
    I was just hoping for some foresight from the more experienced that have dealt with this outdated version of access.
    Maybe i just need to get a newer version, but first;
    Q1
    -----using the wizard to create a page, and running it in ie 11 (it doesn't like chrome) it doesn't run correctly.. the options for switching between data and creating new inserts aren't compatible with ie 11. 
    ??? is there another way without the wizard to configure an html with access 2003?
    Q2
    -----I'll be looking for a config with sql and php, i don't know how long either of these has been around.
    ??Are they a good idea for attempting this?
    I'm interested in ideas that involve using code in notepad documents and access 2003
    I'm not really interested in using third party enviroments for my developing and configurations. 
    Thanks in advance

    Access was never designed to be a database behind a web front-end. The number of concurrent calls could overwhelm it. There are also far fewer samples and support available than using SQL Server database. So look into the free Express Edition of
    SQL Server. We're now at version 2014. No need to use 10-year old tech for a new site.
    The web pages could be programmed using asp.net if using MSFT tech, or PHP if you want to do it the hard way  :-)
    Choose one camp, and stick with it. This is to say: either use the LAMP stack, or MSFT. You *can* mix and match, but not as a rookie.
    -Tom. Microsoft Access MVP

  • Can't load my own pages with .htaccess protection

    It's very strange.
    First time I noticed that problem was on a project page who I created. The page is not for the public access, so I decide to protect it simply with an htaccess file and it works without any problems for a long time in Safari until that point who I make a little mistake by typing the username or password and let Safari safe this wrong information. Since them I was not longer able to reach the page with Safari, but still with other browsers.
    So I can life with that, because it's not an importend page who I visit each day.
    But now I have a nother page who deliver the same problem. The logininfos are safed by Safari and no longer access since two days now. Before it works perfect.
    The only real change who I do was to fix the permissions of a folder inside the Safari resources. The "German.lproj" folder. I do this, because I was not able to open the private settings in Safari. Each time who I click in the settings on the private option, Safari crashes. Anyway, since I add my profile to the permissions Safari works fine.
    I can't belive that this change is the source for the problem. I try to delete all related pagestuff in my keychane of OS X Snow Leo (10.6.8), repair the keychane and repair the permissions over the Disc Utility. I also remove my complete Safari profile in the Library to reset Safari, delete the preferences, delete Safari with Clean App and reinstall it, but still can't access my pages with a htaccess protection.
    All other pages working without any problem. All the pages are still available with other browsers.
    Anyone an idea what I can try next?

    OK, after a long time I solved my problem with the htacces and password protected pages.
    But let me explain a bit more, why it need so much time.
    After I post here at the board, I solved the problem over a simple resetting of Safari over the menu. After I do that, I got the login-window back.
    But for some strange reason I got the problem back after a longer time. And now I got the idea to look a bit deeper, what can happen. I open my Console from OS X and take a view on "All announcements". Now I hit enter in Safari to open the page who have a htaccess protection and I got some error results. On of them was this here:
    22.01.12 15:48:32
    Safari[1062]
    Unable to read contents in the Interface Builder file at path /System/Library/PrivateFrameworks/Safari.framework/Resources/German.lproj/Authe nticationPanel.nib due to error: Die Datei „AuthenticationPanel.nib“ konnte nicht geöffnet werden, da Sie nicht die Zugriffsrechte haben, um sie anzuzeigen..
    This message contain some german infos, so let me translate the last part.
    The file „AuthenticationPanel.nib“ can't be open, because you have not the right permissions.
    This error message looks like the big goal for me. I open this file-directory and mark the "German.lproj" folder to open the information panel for this folder. Now I go to the permission area, hit the "plus" button and add my profile / user to the permissions with a read and wrote permission. My new settings I transfer to all subfolders.
    Now the final test in Safari. I open the URL again and, tadaaaa, it works very well now.
    This is the same solution who I do before (see my first text on this posting) for the german.lproj folder. It looks like that Apples software like the Disc-Utility ignore the german folders around fixing the permissions or after an update or if you have trouble with the permissions.
    Anyway... This two manual fixings bring my access back and I'm now happy :-)

  • I can't connect to facebook. Keeps saying cannot connect to the internet but I am on the internet and can access web pages etc.

    I can't connect to facebook. It keeps saying cannot connect to the internet but I am connected as I can access we pages with no problem

    Hello there, Patrick.
    The following Knowledge Base article offers up some great steps to try when troubleshooting issues with an app you've downloaded to your iOS device:
    iOS: An app you installed unexpectedly quits, stops responding, or won’t open
    http://support.apple.com/kb/ts1702
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • Error in check_tableview_all_rows for a page with more than 1 tableview

    Hello Gurus,
    I have already seen few postings on the same issue but still couldnt find solution to my problem.
    I have a page with 3 tableviews. My requirement is to select entries across the 3 tables, change the values and then save all the entried selected across the 3 tableviews and then they should all be unselected again as soon as the save is done.
    I managed to do all but when I am using the method shown below in a loop^of that 3 tables or outside the loop onlmy the 3 rd table which is last field in the loop is getting unselected rest all still appears to be in selected state.
    cl_htmlb_manager=>check_tableview_all_rows(
    rowcount = wa_lines
    request = runtime->server->request
    id = 'table1'
    check = ' ' ).
    Could anyone of you help me on this or let me know if anyof you ever faced such issues.
    Thanks,
    Naveen.

    Hello Raja,
    Thanks for the reply. I am passing on the correct ID.
    Whats the problem am facing is I am using this statement in a loop and then I am passing the corresponding ID ...It works but I guess its kind of behaving like over writing the previous.
    I also tried using the same statement 3 times separately one after the other with each table id and still its happening the same with only the last table getting unselected and rest being the same as selected.
    Thanks for your reply on this as am facing a lot of problem due to this.
    Naveen.

  • Creating new page with new parent tab

    Does this happen to anyone else? When I try to create a new page that will have a new parent tab and standard tab in a 2-level tab setup, it never seems to work right. I end up having to dele the new parent tab and standard tab I created while creating the new page. Then once the page is created, I go into Shared Components -> Tabs, and create a new Parent Tab and assign it to this new page. Seems like a crazy way to have to do it.
    I know this sounds crazy and it is hard to explain the issue, but anyone who has had this problem with creating a new page with new 2-level tabs will understand what I am talking about.
    Can anyone point me to an explanation on how this should be done? I know I must be missing something.
    Thanks,
    John

    I've recently had to muck around with the 2 level tabs aswell. There are some things making this rather difficult indeed.
    What i'd do when creating a new page you want to have under a new tab, but also with a new parent tab, is to create it with only a new STANDARD tab. Don't create a new parent tabset. All parent tabs are in the same tabset, and if you create a new tabset you'll effectively see only this new parent tab + tab on the page you created.
    So unless you want the page to be on an absolutely new set of tabs, you'll probably just want the page to be on a new top-level tab with under that a new standard tab. Like so:
    <NEW PARENT> | parent 1 | parent 3 | parent 4
    <NEW TAB> |
    To achiece this, you'll need a new standard tab set. You can create this when creating the page. The standard tab set is the set used for you lower level tabs, so obviously we do need a new one.
    As for the parent set which you can choose upon page creation, choose the already existing parent tab set. This set contains all your already existing parent tabs, and you wish to add one for display.
    When you finish creating the page and run it, you'll see that the standard (lower level) tab is there, and is set to active, but your parent tab is not there.
    Go to Shared Components > Tabs. Select the "Manage Tabs" tab there. You can notice your new set there, but notice the striped outline of it. This tab has no parent tab for it! And this is the problem with tab creation in 2-level tabs: you can make a new STANDARD tab and tabset, and define a parent tab set OR create a NEW tab set with tab. Both options fail us: what we want is a NEW parent tab in an existing parent tab set!
    So to fix our problem, from the manage tabs tab click on "Manage Parent Tabs", found on the right hand side of the screen in the region "Parent Tab Tasks".
    This'll bring you to a magical new tab within the tab components. It's a mystery to me why it has to be hidden like this, and makes it a real pain to use. On this page you can manage your parent tabs (the only place to do so actually...). Here you'll see there is no parent tab for your page (again), but here you can create a new parent tab from the right hand menu "Parent Tab Tasks" > "Create New Parent Tab". Enter a label, and choose your existing parent tab set as parent tab set. Don't create a new set. As for target, refer to your new page again.
    However, we are not done yet. You are returned to the "Parent Tab Management" page. You new parent tab will be shown there, but when you run your page, the parent tab will not be set active yet.
    To fix that, go back to the "Parent Tab Management". Select your parent tab so you go to it's details. Firstly, give it a new sequence number, otherwise it'll be shared with one (the parent tabs are created with sequence nr 10, so most probably on a shared position with your first parent tab).
    Then turn your eyes on the "Current on Standard TabSet" list item. It'll have an option selected, but take a good look: it'll be the same name as your parent tab. From the options, select your new Standard tab set (the lower level set) which holds your new page. Then apply your changes and run your page: both your parent and standard tab will be there and highlighted. Yay!

  • On a long web page with many small pics Firefox (4.0.1 on Linux Mint 11) doesn't load them all at once, and MAFF replaces original pics with blank lazy.png

    Similar problem trying to save web page with ScreenGrab! (many small pics on the web page are blank). Maybe there is a way to fine tune Firefox?

    Does the ext directory have the php_oci8.dll? In the original steps the PHP dir is renamed. In the given php.in the extension_dir looks like it has been updated correctly. Since PHP distributes php_oci8.dll by default I reckon there would be a very good chance that the problem was somewhere else. Since this is an old thread I don't think we'll get much value from speculation.
    -- cj

Maybe you are looking for