Providing session control

Hi
I have been scouring the internet to find how to make users go through a login page to establish their credentials.
What i am hoping to implement is
1. Users have to login through the login page (if users manually type in the url the page they want they are redirected back to login if they have not initially logged in).
I am using JSP and Javabeans to authenticate my users.
What i have done so far is create a login page where users enter their username and password. I have a a javabean that stores the information and i have a jsp page to check the username and password against an xml sheet that has the user information.
At the moment it works. But the problem is the user can type in the url the file they want directly (i.e. .../index.html) and they get access to it.
How to i stop this?
Is it something to do with all pages checking for a session?
Thanks Wilbur

I have checked that cookies are enabled. I can
implement URL rewiting but I was hoping for a simple
solution without needing to change the software. As
all other users are not having a problem.Maintaining a session involves passing an identifier between the client and the server. The identifier can be maintained on the client as a cookie, or the web component can include the identifier in every URL that is returned to the client. So clearly for whatever reason this is not happening. You need to either fix your application so URL rewriting is supported or find out why cookies are not working properly for these clients.
I am not skilled in ternminal services and was hoping
there was some configuration that coulod be tweeked.Try a Microsoft forum

Similar Messages

  • Session control

    Hi Experts,
    Please help me to resolve the below problem
    I have a Z-transaction. The output is Grid ALV. When I select any row with Order and click the button 'Change Order' in the application tool bar, it navigates to VA02 (In the Z-program, 'CALL TRANSACTION VA02' is used). Once we enter VA02, from the standard menu, we can create a delivery using 'Deliver' menu option (This is manual intervention). This navigates to VL01N to create a delivery. Once we save the delivery and press the back button, we go to the SAP Easy Access screen. I want to go back to the Z-trnasaction screen. Looks like we are losing the session control.
    Can you please give in your suggestions to get back to the Z-transaction 

    Hi Ketki,
    The purpose of the stmt Call transaction is to return back to calling program. However it seems that when you press Back button, the std SAP program is exiting with a LEAVE stmt. If you can debug and check what happens when you hit a BACK button might give you the answer.
    Hope this helps
    Regards

  • Session control via terminal services

    I have an application running like a dream using JSP and server side session control. One paricular user has an environment where all PCs are linux based and running a terminal service from a Microsoft SBS server.
    These PCs are unable to maintain session when connection to the site.
    Has anywone hit this problem before, is the any setting in the Microsoft to help this?
    Thanks for your help

    I have checked that cookies are enabled. I can
    implement URL rewiting but I was hoping for a simple
    solution without needing to change the software. As
    all other users are not having a problem.Maintaining a session involves passing an identifier between the client and the server. The identifier can be maintained on the client as a cookie, or the web component can include the identifier in every URL that is returned to the client. So clearly for whatever reason this is not happening. You need to either fix your application so URL rewriting is supported or find out why cookies are not working properly for these clients.
    I am not skilled in ternminal services and was hoping
    there was some configuration that coulod be tweeked.Try a Microsoft forum

  • Does the SCAN feature in 11gR2 provide session failover?

    I setup a two-node RAC environment (11.2.0.2), and I can successfully connect to it using Single Client Access Name (SCAN). My clients' tnsnames.ora is as simple as:
    RAC =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = cluster-scan)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = rac)
    I was told by the senior DBA that SCAN provides session failover. By that I mean: suppose there are two nodes, and I have a client establish a connection through sqlplus in another machine (client version 11.2.0.2 as well), eg:
    sqlplus system/password@rac
    I then use something like "SELECT host_name, instance_name FROM v$instance" to figure out which instance I am connected to and I shutdown that instance by running "shutdown abort" there. The expected behavior is for that client to automatically switch to the surviving node (*in the same session*).
    However, it doesn't work that way. Instead, the next SQL statement issued in that sqlplus session results in a "ORA-03113: end-of-file on communication channel." I managed to have it failover automatically, without adding anything (eg: FAILOVER_MODE) in the clients' tnsnames files by creating a service with TAF using srvctl:
    srvctl add service -d rac -s ractaf -P BASIC -m BASIC -e SELECT -z 5 -w 120
    But I have been told this step is not necessary with 11gR2, and session failover should occur automatically if I installed the grid infrastructure and set up SCAN correctly. But I haven't been able to find anything in the documentation indicating this is the case. So, does the SCAN feature in 11gR2 provide session failover?
    Edited by: 894946 on Nov 3, 2011 10:16 AM

    I think you are right because session failover is a service property linked to cluster database instances and not a scan listener feature that basically establish connection with right instance.

  • No provider session Error(Struts Portlet)

    Hi..
    I am trying to develop struts portlet for Oracle Application Server. When viewing the portlet getting 500 Internal Server Error. I have already set the session attribute to true. Still getting the same error. Following is the error message in the log. Please help me..
    oracle.portal.provider.v2.PortletException: No provider session.
         at oracle.portal.utils.v2.ContainerException.fillInStackTrace(Unknown Source)
         at java.lang.Throwable.<init>(Throwable.java:195)
         at java.lang.Exception.<init>(Exception.java:41)
         at oracle.portal.utils.v2.ContainerException.<init>(Unknown Source)
         at oracle.portal.provider.v2.PortletException.<init>(Unknown Source)
         at oracle.portal.provider.v2.render.http.StrutsRenderer.getRequestResourcePath(Unknown Source)
         at oracle.portal.provider.v2.render.http.AbstractResourceRenderer.renderBody(Unknown Source)
         at oracle.portal.provider.v2.render.RenderManager.render(Unknown Source)
         at oracle.portal.provider.v2.DefaultPortletInstance.render(Unknown Source)
         at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.showPortlet(Unknown Source)
         at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.handleHttp(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at oracle.webdb.provider.v2.adapter.SOAPServlet.doHTTPCall(Unknown Source)
         at oracle.webdb.provider.v2.adapter.SOAPServlet.service(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    Thanks,
    Sirisha

    From the stack dump, if that can be of help ...
    06/03/08 17:06:52 ooo: [instance=11696_ALERTHISTORY_9285338, id=82633421611,4] ERROR: Failed to handle HTTP Request
    oracle.portal.provider.v2.PortletException: No provider session.
    at oracle.portal.utils.v2.ContainerException.fillInStackTrace(Unknown Source)
    at java.lang.Throwable.<init>(Throwable.java:195)
    at java.lang.Exception.<init>(Exception.java:41)
    at oracle.portal.utils.v2.ContainerException.<init>(Unknown Source)
    at oracle.portal.provider.v2.PortletException.<init>(Unknown Source)
    at oracle.portal.provider.v2.render.http.StrutsRenderer.getRequestResourcePath(Unknown Source)
    at oracle.portal.provider.v2.render.http.AbstractResourceRenderer.renderBody(Unknown Source)
    at oracle.portal.provider.v2.render.RenderManager.render(Unknown Source)
    at oracle.portal.provider.v2.DefaultPortletInstance.render(Unknown Source)
    at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.showPortlet(Unknown Source)
    at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.handleHttp(Unknown Source)

  • Safari Setup won't provide MobileMe control Panel

    When I did the safari setup it did not provide the MobileMe control panel. Thus while I must have gotten by bookmarks once upon a time, I now cannot update them because I don't have the mobileme control panel that provides the sync capability.
    I have tried reloading safari but it still does not provide the control panel. Is there a way to get the control panel without reloading safari?
    thanks

    HI Shannon,
    First, there is no Control Panel on a Mac. It's called the System Preferences pane. It's located in your Applications folder. If you have a MobileMe account, the MobileMe icon will be displayed there.
    You can access your MobileMe account by typing in: www.me.com into the Safari Address Bar, press the Return key. You will be prompted for your username password. That should allow you access to your MobileMe account that way.
    More information on a MobileMe account here. http://www.apple.com/support/mobileme/
    If you need more help, just post back!
    BTW, you posted in the Safari for Windows forum but your profile indicates you have a Mac.
    Considering your referred to the Win Control Panel, are you using a PC or a Mac? Please click My Settings on the right side of this window and update your profile including which Windows or Mac operating system you are running. Thanks.
    Carolyn
    Message was edited by: Carolyn Samit

  • Why are App Tabs session-controlled?

    Firefox claims that it is creating a more secure browser. Wishful thinking, but quite false. The fact that App Tabs are included in session control is a major design flaw in Firefox. Because cookies are stored with app tabs, you have actually made Firefox much ''less'' secure. Fortunately, I have one possible solution. Mozilla is currently reviewing the add-on called App Tab Initializer. I'd rather you integrate it directly into Firefox. You can add the procedure undertaken by clicking the "Grab Current App Tabs" button in the add-on's options as the first step in Firefox's standard shutdown procedure. Then "Clear all history" in Firefox's own options should be the default, and it should be the second step. When you open Firefox again, Firefox should launch App Tabs according to the URLs given in the first step above. Your favorite examples to use are Gmail and Facebook, so those sites should be the ones you use to test both the problem and the solution. Thanks!

    I have no such extensions. I learned of this option on lifehacker, which lists it as an option in Firefox, not from an add-on.
    It's in their power-users' guide to firefox, here:
    http://lifehacker.com/5867444/the-always-up+to+date-power-users-guide-to-firefox
    I first used the option in Firefox 8 and it worked with app tabs. It doesn't anymore in 9.

  • Imaqdx session control

    I am using a IMAQdx session control to select on of two cameras in my system
    but the control does not show the drop down list of cameras although correctly configured and visible in MAX.
    I am using LV8.6.1. and ImaqDx 3.8 under WIN XP.
    Does anyone knows the reason for that behavior?
    Thanks.

    Sorry for my late response.
    Here is the screenshot. Both cameras (cam0 / cam5) are listed under IMAQdx.
    Regards Ralph

  • Ms sql server linked server with OraOLEDB.Oracle provider session handling

    Hi everyone!!
    Here's my situation:
    I have a MS SQL Server 2008 R2 with a linked server to Oracle via OraOLEDB.Oracle provider.
    I use a .net application to open a connection to my sql-server, execute a select that collects data through the linked-server-connection from the oracle database and after that I close to connection to the sql.
    It does work so far,
    but when I start my application, exit it proberly and start it again it seems that i get the same session as before (which is for some reasons very bad).
    Is that the right/normal behavior?
    Is there any way to avoid that?!
    How does the OraOLEDB.Oracle provider handle the sessions if used in/as a linked server?
    thanks and greetings,
    exoc
    Edited by: 944414 on Jul 4, 2012 5:43 AM

    Hii Rouann,
    Does the error occur when you call the stored procedure from SSIS package and map SSIS variables to the parameters in the stored procedure? Can you run the store procedure from SSMS properly? If you can run the stored procedure from SSMS, the issue seems
    to occur due to the date format mismatch between the SSIS variables and the parameters in the stored procedure.
    If you cannot run the stored procedure from SSMS as well, the issue should occur due to the incorrect data conversion within the store procedure itself as Tom mentioned.
    Regards,
    Mike Yin
    TechNet Community Support

  • Diff. btw. Region edit controls and provider.xml controls on rendering portlet UI

    hi,
    Apologize if this has been asked already.
    What are the differences if any between -
    - controlling the display of portlet header/border in the provider.xml file (containerRenderer set to false)
    V/S
    - controlling in the page edit mode (edit defaults) and uncheck the "display banners/borders" for the portlets at the region level.
    Appreciate it if anyone can explain any subtle differnces if they exist, or if they complement/overide each other. I am planning to set the containerRenderer to false to show them programmatically.
    regards
    -Ananth

    I'm using VS 2013 Coded UI Test Builder trying to add some new recorded elements to an existing window. The top level window that the coded ui test builder generated had to be modified since the title changes depending on the contents in a form. I've tried
    different ways to identify it but the simplest that seems to work looks like this (basically eliminated the name and just search for the winform name):
    public class UICustomerWindow: WinWindow
    public UICustomerWindow()
    #region Search Criteria
    this.SearchProperties[WinWindow.PropertyNames.ControlName] = "frmCustomerMaintenance";
    #endregion
    Like I said, this works in all the tests automated already and the coded ui test builder can find it if I click the refresh button. The problem occurs when I try to add any new element or exiting element. The UI builder likes to ignore all the previous recordings
    for that UI map and add a completely new top level window and elements in that window:
    public class UIViewEditCustomerDURGWindow : WinWindow
    public UIViewEditCustomerDURGWindow()
    #region Search Criteria
    this.SearchProperties[WinWindow.PropertyNames.Name] = "View/Edit Customer DURGAN, KENYON";
    this.SearchProperties.Add(new PropertyExpression(WinWindow.PropertyNames.ClassName, "WindowsForms10.Window", PropertyExpressionOperator.Contains));
    this.WindowTitles.Add("View/Edit Customer DURGAN, KENYON");
    #endregion
    Is there something I'm missing or this just a limitation of the Coded UI Test Builder? BTW, if more info is needed, let me know and I can probably provide it since its all dummy data.

  • Provider Session timed out

    Hi,
    I created a HelloJSp Portlet in my standalone OC4J. I created a web provider for my OC4j. Then I added my HelloJSp page to a page. it works fine.
    I copied the code from FormInput portlet in sample provided by PDK into my working HelloJSP portlet.
    I copied the form input <Portlet> .....</Portlet>
    tag from sample Provider.xml to my provider.xml.
    when I added my HelloJSp portlet to a Page, Portlet always " shows session timed out error". can anybody please throw some light on this? or Is there anything I am doing wrong ?
    Thanks
    Sha

    Hi,
    I see some kind of a mismatch. The final JSP will still be named as hello.jsp while the Form Input portlet expects formInput.jsp as per its definition in the provider.xml.
    So have you made sure that the entries in provider.xml are consistent. Moreover, if you have added this as a new portlet (i.e. the provider.xml file shows two portlets) then you will need to refresh the provider registration from Portal.
    application.log file might be helpful for debugging.
    Regards,
    Abhinav

  • User session control

    Hi
    There is a way to control the number of sessions a user defined in ACL can open??? or its possible the limit of sessions openned to a restricted area.??? throughout the SJS WS6.1

    What you could do is the following:
    1. Create a new profile that sets the session maximum to 1
    CREATE PROFILE some_profile LIMIT SESSIONS_PER_USER 1;2. Change the user to be associated to the new profile
    ALTER USER some_user PROFILE some_profile;Hope this helps!

  • Help:session control

              it seems that weblogic doesn't support global.jsa, and i want to control the session
              destroy event, what can i do?
              

    What you want to do is to plug a custom TableCellRenderer in for the JTable column that is supposed to display the image. In your case, you will want to take the ImageControl and subclass it so that it implements the TableCellRender interface.
    You can go the Java Developer Connection at java.sun.com and search the forum for posts on this topic. You can also go to http://manning.spindoczine.com/sbe/files/uts2/Chapter18html/Chapter18.htm for an example.

  • Session control lost in new pop-up window

    Hi people,
    In one of my pages in the Portal I have a link that opens a BSP Application in a new window.
    The idea is to allow the user to open the same application with different info in different windows. But is not working, I have at least two problems.
    1-     when I close the new window, the object  that I was editing is not free and session remains open.
    2-     after I open a second window, the first window starts to point to the application of the second window.
    I think that my problem is that when I open the new window, this new window is no longer associated with the portal session.
    There must be a way to control this.
    Thanks for your help.
    Best regards,
    Paulo Ruivo

    Dhruv,
    The link page is a BPS iView.
    The link to the BSP page is the full url of the BSP page.
    Should i use the EPCM class to do this navigation?
    Regards

  • Is it possible to throttle/provide flow control for EDN ?

    Hello, Was wondering if there is any sort of mechanism to provide throttling/regulate flow for EDN messages. I'm thinking in the same way you do with JMS properties (i.e. adapter.jms.receive.threads) granted the stack underneath for this is different ?.
    Thoughts, experience would be very much appreciated......

    Hi
    Standard Screen Controls will always appear in Edit Mod and in Perform Mode for a given Concert. Controls that are not assigned to any parameter will be grayed out in Performance Mode. To do this, select the control in Edit, and choose "None" in the Screen Control Inspector.
    Smart Controls adapt for a particular Patch. Different layouts can be assigned per patch.
    ericmurphysf wrote:
    you can't give a screen control different names in different patches)
    That depends on the method you used to name them in the first place:
    Controls can have different formats of labelling ( done in Layout mode), where they can show the particular parameter name etc etc. These can change from patch to patch.
    You can assign a "Hardware Label" that is global.
    Separate Text labels can have global or Set/Patch labels, and they can be labelled for a single Patch by overriding any higher level labelling
    hth
    CCT

Maybe you are looking for