Re: Dynamic page content display



<sconeek@xxxxxxxxx> wrote ...
: hi all,
:
: i am working on a java tapestry based web application. i have a lot of
: web pages in HTML, JavaScript which talk to a java backend which
: connects to a Postgres DB. Now my HTML pages contain a few dynamically
: updated pages which update information in real time from the DB.
:
: my problem is that if the user doesnt login and tries to visit those
: pages, they should be redirected to the user login page where they have
: to enter their username and password. now i am able to redirect them
: but the corresponding login page does not get displayed. i mean i know
: that the user is redirected to that page, but it just doesnt render. i
: have a javascript check on that page which checks if the username and
: password field is entered with some information. when i come to that
: *empty* page and press enter on the keyboard it comes up with a dialog
: box saying that the username field cannot be blank. so obviously the
: user is on that page but it just doesnt render.
:
Are you really really sure the redirect is working? How can you tell?

Perhaps JS is disabled in the browser. It can be and can cause you more grief.

..k


.



Relevant Pages

  • Re: Validating login issue...
    ... the request needs to contain a valid password and username. ... Response.Write "Your login is invalid, ... Move this code after the End If by storing the redirect ...
    (microsoft.public.scripting.vbscript)
  • Re: login redirect doesnt work
    ... > When I push the login button, ... > but it doesn't redirect or authenticate the user so I'll be stuck on ... visual component rather than creating the command component at runtime, ... would use one SQL query that returns the username and role where username = ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • loosing session value - sometimes
    ... into as sessionvariable (username). ... I save the recordid to the session and redirect to work.aspx. ... and I will change the username from manuel login to ...
    (microsoft.public.dotnet.security)
  • session value lost
    ... into as sessionvariable (username). ... I save the recordid to the session and redirect to work.aspx. ... and I will change the username from manuel login to ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Default.aspx - newbie Q`
    ... check and redirect to the ReturnURL or Selected.aspx depending on the case. ... > and replace it with something that takes then straight to the login page. ... >> Curt Christianson ... >>> authentication ...
    (microsoft.public.dotnet.framework.aspnet)