Active InfoActive Info  Display List of Info MembersMemberlist  Search The InfoSearch  HelpHelp
  RegisterRegister  LoginLogin
Database Connection Issues
 CJWSoft Support Info : Database Connection Issues
Subject Info: Display PDF A d d  -  P o s tAdd P o s t
Author
Message << Prev Info | Next Info >>
jpasos
New User
New User
Avatar

Joined: June/04/2007
Location: United States
Online Status: Offline
Info: 2
Added: June/11/2007 at 11:28am | IP Logged Quote jpasos

One of the features I nned to use is the ability to re-direct users to a different page, I tried it in the demo at your site and it worked great. I tried the free version, but the version comparison states it does not work in the free version, so I bought the full version.

I created a new account and setup the Redirection_URL to http://cadicorp.pasos.ws/sample.pdf, but I receive the message

You do not have access to this level.

This page is level 'Admin'

ACCESS DENIED

The PDF file is automatically generated by a financial program for each customer in a scheduled basics. What do I need to do to get the redirect feature functioning in the full version fo display my pdf.

Thanks

Back to Top View jpasos's Profile Search for other info by jpasos
 
cwilliams
Admin Group
Admin Group
Avatar
CJWSoft Web Software Developer

Joined: April/06/2004
Online Status: Offline
Info: 1729
Added: June/11/2007 at 1:16pm | IP Logged Quote cwilliams

Hi,

Please explain all of this in a much detail as possible. Your leaving out a lot of important details. Show code examples of what your doing and explain what kind of users we are talking about... etc etc etc

That error message would get processed way before any redirection code would trigger so that tells me what your doing with the redirection probably has nothing to do with the error. I mean if it says your not an admin it means your trying to login to an ADMIN protected page using an account that isn't an admin.

I also never intended someone redirecting to a file like that. I intended people to enter a web page address. So I dont know about that whole deal. It seems like a goofy thing to be doing really.

Also, I am sorry but I wont be able to respond right away as I have to go to a funeral today and a party afterwards.



__________________

Best Regards, Christopher Williams www.CJWSoft.com
Back to Top View cwilliams's Profile Search for other info by cwilliams Visit cwilliams's Homepage
 
jpasos
New User
New User
Avatar

Joined: June/04/2007
Location: United States
Online Status: Offline
Info: 2
Added: June/11/2007 at 1:39pm | IP Logged Quote jpasos

Sorry for the funeral and have a good time at the party or whichever way around you prefer.

I created the following account. On a succesfull login it is suppose to go to http://cadicorp.pasos.ws/sample.pdf, OK.

Following is the account I created:

First Name < size=30 value=Jose name=First_Name>
Last Name < size=30 value=Pasos name=Last_Name>
Company Name < size=30 value="Cadicorp Management Goup" name=Company_Name>
Address < size=30 name=Address>
City < size=30 name=City>
State_Province < size=30 name=State_Province>
Zipcode_Postal_Code < size=30 name=Zipcode_Postal_Code>
Email < size=30 value=julio@pasos.ws name=Email>
Phone < size=30 name=Phone>
Association Name < size=30 value=les.pdf name=Custom1>
Association Accnt. # < size=30 name=Custom2>
Username < size=30 value=userid name=Username>
Password < size=30 value= name=>
Exp  Date < maxLength=10 size=15 name=Expiration_Date>
< style="FONT-SIZE: 11px" ='ASPProtectCalendar(this, Expiration_Date, "mm/dd/yyyy")' = value=> Leave blank If User is never to expire.
Newsletter < = value=True name=Newsletter>
Active < = value=True name=ACTIVE>Uncheck this to disable a User Account.
Admin < = value=True name=ADMIN>Use caution unchecking this If you are an admin.
Redirection_URL < size=40 value=http://cadicorp.pasos.ws/le.pdf name=Redirection_URL>
This is a URL a user will be redirected to the 1st time they log in to the site. You can use this for whatever reason you wish. It was a requested feature. Must contain http info
Notes < name=NOTES rows=3 cols=30>
< =submit value="Save User Info">         DELETE THIS USER
This user has logged in a total of 14 time(s).
Last Access: 6/11/2007 10:26:43 AM
< = value=ON name=Reset_Count>Reset Count
Access Level
< size=1 name=Access_Level> < value=1 ed>1 < value=2>2 < value=3>3 < value=4>4 < value=5>5 < value=6>6 < value=7>7 < value=8>8
Groups
< multiple size=4 name=Groups> < value=1 ed>Board Memebrs (ID 1) < value=2>Unit Owners (ID 2) < value=3>Unit Tenant (ID 3)
Hold Ctrl To Select Multiples.
Login Limit
< size=10 name=Login_Limit>
Amount of times left that a user can log in. Leave blank for no limit. Value must be an Integer. This value will decrease by 1 each time a user logs in. When it gets to 0 they will be set inactive.

When I go to http://cadicorp.pasos.ws/password_admin/default.asp to log in I get the login screen, as follows:

< =/cadicorp/_admin/default.asp? method=post>


Admin Area Login

Username < size=10 value=userid name=Username>
Password < = size=10 name=>

 < =submit value=Login>

I enter the information for the account I created, userid and password and loging, but I get the following screen:

You do not have access to this level.

This page is level 'Admin'

ACCESS DENIED

INVALID Username & Password

< =/cadicorp/_admin/default.asp?Username=userid&=&Status=Checkem method=post>


Admin Area Login

Username < size=10 name=Username>
Password < = size=10 name=>

 < =submit value=Login>

I have verify the account information many times, I am typing in the correct userid and password. Like I said before the page is a simple report generated into a pdf file from quickbooks accounting 2007, the file was moved to the web using cute FTP. If you brwose the file directly http://cadicorp.pasos.ws/sample.pdf, it opens perfectly.

I am using no code, but your program to validate the user as shown above and I am hoping to display the pdf upon login in.

Thanks,

Back to Top View jpasos's Profile Search for other info by jpasos
 
cwilliams
Admin Group
Admin Group
Avatar
CJWSoft Web Software Developer

Joined: April/06/2004
Online Status: Offline
Info: 1729
Added: June/11/2007 at 2:05pm | IP Logged Quote cwilliams

what your doing is just very very wrong

When I go to http://cadicorp.pasos.ws/password_admin/default.asp to log in I get the login screen, as follows:

 dont do that

The admin area is for the admin... not for a regular user you want to redirect somewhere.. and redirection is not a feature you use when dealing with logging into the admin area of the application..

So, of course your gonna get that message... because your trying to log into a page that requires admin access...


Make a new asp page.. put it somewhere other than the password_admin folder...   protect it like the instructions tell you to

do your redirect thing if you so desire..

and you'll be in a lot better shape...

And remember when testing to log out and close all browser windows.. then go to your page and log in



__________________

Best Regards, Christopher Williams www.CJWSoft.com
Back to Top View cwilliams's Profile Search for other info by cwilliams Visit cwilliams's Homepage
 

If you wish to make a comment to this info you must first login
If you are not already registered you must first register

  A d d  -  P o s tAdd P o s t
Printable version Printable version

Info Jump
You cannot add new info in this area
You cannot add to info in this area
You cannot delete your info in this area
You cannot edit your info in this area
You cannot create polls in this area
You cannot vote in polls in this area


Active Server Pages asp source code database MS SQL MS Access .mdb adovbs.inc cookies calendar codes sql commands scripts asp programming tutorials iis web server components CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspprotect.com, www.powerasp.com,www.aspclassifieds.com,www.aspphotogallery.com,www.codewanker.com