Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
Can i use authorization for custom database like i have created my own user table which have following attributes and at the same time can i use the authorization to check that if user is logged in then it checks that what is the role of user so he/she can view the page or not.
UserName
Role
ID etc.
I have tried Session["UserName"] and many things to manage the login system but it didn't worked
eg i have three views Managerpage Testerpage Developerpage each can view the related page according to roles Manager Tester and Developer.
Thank You in advance
please dnt block me just ask me if i cant explain my problem.
Going based on your picture. You should really provide more information if you are going to ask a question in the future.
SELECT UID
FROM dbo.User_Project
WHERE PID = '1';
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 4 years ago.
Improve this question
I want to delete a record in a shared cloud container at a specific date time. When the record is created I know when it should be deleted.
Is there a way to create a trigger that will handle the work for me?
The only solution I came up with is:
Add code to the app that will delete the records
Use a server application to query and delete the records
The first solution is not preferred since it won't work if the user does not start the app. The second solution seems to be "overkill".
Is there a way to register a trigger on the CloudKit dashboard?
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I created custom login which use FormAuthentication. When user use login page, I get user information and save to session variable. If user check remember password, after user close page and reopen, authentication of user is authenticated, in this case, I can not get information of user.
How do I retrieve information of user in this case
Use cookies to store user id or something unique. Then get it and query database for example.
My solution:
After the user log, I create random TOKEN key, save it into DB to specific user, and add to Respone Cookie (the lifetime of the cookie, you can specify the desired).
Then, when user come again, I get cookie and check it value. If everything is correct, install the session variables.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
So, to be clear I have a Join Now section on the landing page with 4 out of 10 form fields I'd like users to fill out these 4 fields and then be re-directed to the full sign-up page to complete the profile. One solution was add validations on the other fields and when they aren't met on the Join Us form the user is redirected to the full sign-up page.
Are there any other better alternative ways to do this?
Thanks.
Your question is really broad and there are many possible solutions, for which everyone may have its own preferences.
To be honest, I don't really understand why you would require someone to fill in 4 fields and after that require them to fill in another 6 fields once those fields are validated. Why not let him or her fill in all 10 fields to begin with.
Or you could just let someone fill in 4 fields (for example username, e-mail, password, password_confirmation) and store the results of these (validated) fields in your users table. Once this first step is finished, someone can log in. For additional options you can require someone to complete his profile. The first 4 fields are disabled (you could use the data stored in the table as placeholder) and once the user fills the other required fields with valid data the user record will be updated with additional data.
Even better would be using a wizard, where you use multiple steps. Following this railscast would be a nice start:
http://railscasts.com/episodes/346-wizard-forms-with-wicked?view=asciicast
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
On 10/17, adobe issued release 1.4 (Version 15), which wrote over all of our event, evar and prop field names... has anyone else experienced this issue? If so, how did you fix it?
I have not seen this happen (I work with a lot of clients who use SiteCatalyst.. haven't heard anything from them nor seen it myself). I would first try logging out and clearing cache/cookies and then log back in. I have sometimes noticed weird behavior in menus after changes (like creating/updating saint classifications), and doing this fixes it. But if that doesn't work, you can just go into your interface and relabel them (you have to have admin privs). Kinda inconvenient, but doable.
Also.. if there is more than one person with admin access to your SC interface.. you should ask around and see if anybody messed with it. Another way this could happen is for example if someone made a new report suite and was looking to dupe the variable labels/settings from an existing one.. and then messed up the process. For example, if you select 2 (or more rsids) and go into the prop listing, it will normally say "multiple" as a value if they do not match up between rsids.. but when you make a change, it's changing all selected rsids..
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I Was wondering if anyone can tell me if this is possible. So.. I am just about to create my first iPhone app. I have my idea and everything is sketched out etc.. but then today I realised that I had not thought about all the features and their implementation properly. This could soon be a no win situation, so please help
Is it possible to create a username and password automatically upon first app opening? so the username and password is to be generated on the fly and then submitted to a web database.
I would also like it so that the user of the app could change this manually if they wished. but also so that if they viewed it on their other iDevices they could sync it up.
Is that possible?
yes, you could generate a random string to sign up a user for first time (backdoor guest account sort of speak), I've done it with one of my apps before (temporarily). However, you should consider baking a guest account feature into your remote server.