Crotten
Posts: 12
|
| Posted: 12/03/2009, 6:52 AM |
|
I've downloaded the newest eval. I've created a project (not using groups or security) at this point. I have a logn page that does nothing but keep asking me for login credentials.
I suspect this is the ocrrect behavor, but how do I send a user to a specific page after login.
Thanks.
|
 |
 |
datadoit
|
| Posted: 12/03/2009, 7:42 AM |
|
When you set a page to Restricted, it will automatically redirect to the
login page if not currently logged in.
So if your index page is Restricted, when someone hits your website
they'll automatically be redirected to your login page. After log in
they'll in turn be redirected back to the calling page.
|
|
|
 |
Crotten
Posts: 12
|
| Posted: 12/03/2009, 7:43 AM |
|
Appologies, I should have mentioned that I have set the "return page" to an existing page.
Also, I have no "exlicitly defined Restricted Pages"
But alas, it does nothing bu keep asking for a login.
Thanks...
|
 |
 |
datadoit
|
| Posted: 12/07/2009, 12:14 PM |
|
Then there are a lot of things that could be wrong. Will need to know
more specifics to your environment. I would start by looking at your
web server configuration and the handling of sessions/cookies.
|
|
|
 |
damian
Posts: 838
|
| Posted: 12/07/2009, 12:52 PM |
|
in the url it usually gives extra info live invalidgroup etc... can you check and post here?
_________________
if you found this post useful take the time to help someone else.... :)
|
 |
 |
andrewi
Posts: 162
|
| Posted: 12/07/2009, 2:51 PM |
|
If you don't have a restricted page, then you'll never see any Login behaviour. If you go to your login page (e.g. Login.asp) and login, then you'll just be presented with the same blank login page again. That's normal behaviour.
To see something happen, you'll have to set one other page to Restricted. Then open the restricted page (not the login page). If you've got it right, you'll be passed to the Login page automatically, then after successful login, back to the Restricted page. (So the answer to your question "how do I send the user to a page after login" is : set that page to Restricted, and just send the user straight to that page)
The security feature of codecharge is a good - simple to setup and then you pretty much don't have to think about it again.
|
 |
 |
damian
Posts: 838
|
| Posted: 12/07/2009, 7:26 PM |
|
and if you want the user to be directed to a particular page after login you can set that on the login page itself...
_________________
if you found this post useful take the time to help someone else.... :)
|
 |
 |