Remembering Sessions
I've written (using Dreamweaver) an Intranet for my business. It works great but I've used sessions for logging users in. Therefore when they close explorer they have to log in each time. How can I convert my pages into ones that store their login? I'm thinking cookies, but I have no idea what to do?
View Replies
ADVERTISEMENT
On my site the homepage is accessible by all. The other pages need a password. When a visitor clicks a link, they get redirected to the login page instead of the page that they want to see. That part is under control.
If they provide the right password, they need to be sent to the page that they clicked. How do I do that?
View Replies
View Related
How do I keep IIS from caching/remembering username/password?
Here is the situation:
I have created an asp script which sits on server1. The script makes an
http call to server2 using the vb object msxml2.xmlhttp. The server2 requires
authentication. If I pass the username and password as part of the "open"
method of the object..everything works fine. When I get rid of the username
and password and make the call again...it uses the username and password from
the last call..and It'll keep using that username and password until I
restart server1.
View Replies
View Related
After a number of wrong turns and experiments I need advice on login management system to secure our web pages without inconveniencing our visitors or our internal staff.
i need A system whereby the user only has to register ONCE and he will have automatic entry to ANY page without havinto to RE-LOGIN even if he comes in two weeks later or comes directly to that page via an email link. This scenario seems built on the Amazon model of the 'gold box' which automatically remembers you through cookies.
If the user does not have cookies he has to re-login. help me identify a 3rd party product that does this or a route to achieve this in my code.
View Replies
View Related
Drop Down Menu as follows:
<select name="county" id="county" >
<option value=''> Select County</option>
<option value='Antrim'> Antrim</option>
<option value='Armagh'> Armagh</option>
<option value='Carlow'> Carlow</option>
</select>
Problem is when there is an error with one of the other fields and the press reloads the county is reset to Select County how can i remember this value.
View Replies
View Related
I am going to have a form on one page that will have a bunch of options(checkboxes, radio buttons, text areas, text fields, etc.) and these options are going to deal with a certain category. Each category will have different options. Now after this form is filled out they will then proceed to another page to fill out contact information. Name, Addy, State, City, etc.
Now, after they fill this contact form out they will submit it and then it will go through a database and depending on what state and county they are in it will email the information from both forms to the email addresses in the database that match that state and county(as well as category). Now dont worry I aint wondering how to actually search the db and all that yet.
All I want to know right now is how do you remember the first forms information while you go to the second page to fill out the contact information? Using cookies? What? I dont want the form input to be displayed on the second page, just remembered.
So I will select all my options from the first form and fill out all the text areas and fields and all that then click on the Next button or whatever, then fill out contact info.
How do I get it to retain BOTH forms information, and for now just display both of them on a third page(like I said I will worry about the db query and email crap later). I hope this makes sense.
View Replies
View Related
We are planning to set-up a load balanced web environment. Accordingly, we are going to change the session management on our website from the classic ASP Session State and session variables, to a database method.
Does any one have any pointers as to how I might approach this, so that I can have the same sort of functionality the ASP sessions give without having to create database columns for each session variable I wish to create. I am thinking along the lines of some serialised dictionary or something that I can stick in a blob column.
View Replies
View Related
Can someone explain to me how you set a session and how you check the session?
View Replies
View Related
I created a session variable in an asp page as below:
Session("userid") = userid
is it possible for me to read that same variable "userid" in a seperate perl script? if so how?
View Replies
View Related
I have session time by default as 20 mints in iis.
I want to that to be increased by 60 mints in my application so that when user save changes after 21st mint the session should not be lost.
Can this be happen without changing the default time in iis since i have many other applications.
View Replies
View Related
Any one know how to end all the session in asp application. Is there any other directive rather than '#include' to include a file in our Asp page.
View Replies
View Related
I was wanting to know if you could have a function within a session?Example:
Code:
<% Session("Message") = MyFunction() %>
Is that possible? Ok, maybe not "is it possible" but can you use the session message to dictate where the function outputs its data? Here's why I'm asking. I have an online testing app that when a person selects the wrong answer the correct answer (along with a bunch of other stuff) will be displayed on the page.
I'm getting it to display the correct answer and the other information, but the correct answer is at the top of the page screwing up my layout and the other information is doing what it should.
View Replies
View Related
I am using an HTTPS connection and posting to an asp page that does a
redirect based on if the user is authenticated.
However, for some reason after the session is set and the user redirect
the session dies and the user logged out?
Any ideas?
The redirect looks like Response.Redirect "../welcome.asp".
View Replies
View Related
I am using ServerXmlHttp in a client-side component to basically talk back to the Server within a webpage. I would like to be able to cache some information on the server so that when I callback, I do not have to reconstitue everything that I did for the intial request. However, the Sessions are different.
Is there a way to get the ServerXmlHttp session to impersonate the IE client session? Code:
View Replies
View Related
can any one tell me how to use sessions in asp for 2different users please?Is it straight forward? Never used them before, a friend said it is worth doing
View Replies
View Related
I'm trying to use a couple of Session variables within SSL.
My form submits to the same page and this is at the top of the page.
<%
Session("ShipAhead") = Request.Form("ShipAhead")
Session("Comments") = Request.Form("Comments")
%>
The form fields are populated but the Sessions are empty on my next page.
Am I missing something? Is there a problem with Sessions and SSL?
View Replies
View Related
I've just created a simple form that writes information to an
Access database using ASP. Everything works fine. My question is, would
there be any reason to use the session object other than for tracking
purposes.
Specifically, does a session have any inportance on multiple
users accessing pages and submitting the form inforamtion to the database.
I was curious about errors to the database with multiple users submitting at
the same time to the database. This is a small scale application and not
expected to have large number of hits. As stated I'm new to using ASP and
just wanted to get some input.
View Replies
View Related
I have used SESSIONS on mission critical pages on my site, and if sessions are not enabled / supoorted - these pages will fail. When and why would a session fail? They do not store any info client side,and rely on the server to store session objects in memory, am I correct? Would security settings or privacy controls ever stop sessions working? Which "popular" browsers dont support sessions?
View Replies
View Related
Are sessions stored on the server or the visitors PC?
View Replies
View Related
I don't know how to do anything with session and I don't need anything complicated at all. All i need it to do is like create a session when they login sucessfully. And like I want to add on every page if they don't have a session id and the correct access priveleges or watever to redirect them to the login page.how would i do that?
View Replies
View Related
I've had a look around the site but can't find exactly what i'm looking for.I'm writing a small ticket booking engine in asp and am wondering about sessions.Do I need them ? and what is involved in adding them to my code?
View Replies
View Related
I am trying to set a session with a few variables so i can retrieve them and use them to display results on another page so far my code is
This is for setting the session
Session["Name"] = "shiodsgj";
Session["MaxPrice"] = "nkfskgjk";
Retrieving the session
user.Text = (String)Session["User"];
MaxPrice.Text = (String)Session["Network"];
Do i need to create a session if so how, I understand that session.add(string, object) does this but i am recieving errors whilst doing this.
View Replies
View Related
a user logs into a website (im using acess for the database, asp for the pages), they are then in a members only area. They should have the ability to view their own personal details and change them if they wish. this should be updated in the database.
the problem is im not sure how to go about it. i seen sessions mentioned in tutorials but im still ,well, lost basically.
View Replies
View Related
I've got two different sets of ASP scripts on my server. Each set is kept in their own directory. Both sets of scripts use sessions. I want to make sure that the sessions are not accidentially shared between the two sets as they are both different applications.
Right now I'm having a problem when I do a Session.Abandon from one set of scripts it also kills the session for the other set of scripts (I believe they are both using the exact same session). Is there some way I can make sure this doesn't happen?
View Replies
View Related
is there a way that i can use both php and asp on my site. So that i can switch over a session to a new php admin page?
View Replies
View Related
Has anyone had any problems using sessions with XP? Are there any tricks to getting it to work properly?
View Replies
View Related
I have a database add/view/edit/delete page, and you can only get to it by logging in at login.htm (where it checks username & pw and redirects you to the a/v/e/d page.) But if you know the 'Control Panel' address.
you can just type it in and get full access. I figured I must have to check everytime to make sure they logged in. what would be the best way to do this?
View Replies
View Related
how to use sessions in asp for 2 different users?Is it straight forward? Never used them before, a friend said it is worth doing.
View Replies
View Related
I had a contact form set up using CDONTS.NewMail and it worked fine for about two years. I just went in and changed the object to CDO.Message, and adjusted a few of the properties, and while the e-mailing portion of the code still works, none of the session variables on the page work any longer.
I had both the form validation and the message on the "thank you" page set using sessions from the page with the CDO code, but for some reason using CDO cancels the sessions so that Thank You page is blank and the form validation no longer announces which fields need to be completed.
View Replies
View Related
Does ASP allow communications between sessions?
Usually Response sends the response to the destination from which the
Request came.
Is it possible to send the Response to some other client who is connected to
the same page at this moment?
View Replies
View Related
I am working with sessions to check if the user is logged in.
This usually works fine and all my .asp-pages checks if: <%
session.Contents("loggedIn")=True %>
But this only works on my web-hotel
When I run the same pages on my localhost, it can't find any sessions and I
appear to not be logged In.
I have tried to set my localhost on the "trusted sites" list and "always
allow" in "override cookie handling" in my Explorer.
View Replies
View Related
Do you want manage ASP Sessions variables without Session Object and without Cookie?
View Replies
View Related
Using Session("variableName") to store data for the duration of a session. And using Response.Cookie("nameOfCookie") to store data as a "cookie" in ASP.....some questions here....
Session Variables. There's no disabling that CLIENT-SIDE is there? ASP Sessions are managed by the server, so as long as it's running fine, there's nothing the client can do to stop session variables from being created right?
"Session" Cookies? When using Response.Cookie, is that data actually written to the client's HDD like Javascript cookies would be? I noticed in MSIE 6 you can goto TOOL > INTERNET OPTIONS > PRIVACY > ADVANCED and Overide Session Cookie settings, but they don't seem to work.
I UNCHCKED to ALWAYS ALLOW SESSION COOKIES, and then did a
Code: ....
View Replies
View Related