279 Topics
![]() | |
I am trying to use the session start function but everytime I try to use it, it gives 2 errors: [QUOTE] Cannot send session cookie - headers already sent by (output started at /var/www/form/send.php:11) in /var/www/form/send.php on line 12[/QUOTE] [QUOTE]Cannot send session cache limiter - headers already sent (output started … | |
Hi all, I have been doing some reading into security with PHP session data and I have changed a few things around in my script - For example - I am now using $securecode=sha1(uniqid(rand())); as before I was using $securecode=md5(uniqid(rand())); As reading through daniweb has taught me that sha1 is … ![]() | |
how do you measure the size of session in (KB, MB....) how can you say my session object is consuming ? space in (Kb & MB) is there any limit to session size ( Some guy said 2GB :) ) Adapost help..! | |
Hi All, I have JSP and Servlet that need to "talk" to each other. Actually I need to get record from database, fill it in JSP file. I have created Servlet that does the query and gets the result. I need those results to be shown on JSP file. In … | |
Hi All the members in DaniWeb :cool: I need to know how to end a created session when user log out from the web site..I have created a web-site for my assignment..and i put Sessions..Each time user log in to system it create session object and identifies the user.. What … | |
Hi everyone!!!! i have a problem with storing session variables from a file called through ajax. i have a page with a form which i submit using ajax. the page is called add.php, when you hit submit, the form is sent using $(post) to a file called addaction.php where i … | |
The users of my web application are complaining that the 20 min default timeout is too short and they don't want to have to keep logging in. I have tried changing the timeout from the default 20 mins but whatever I set it to it seems to have a max … | |
hi - i have coded a seacrch box and its results are displayed in a tabular form. i have also a print button which when pressed shud create a pdf based on that table that is displayed. for this i have a separate page called pdf.php. i am using ezpdf … | |
hi all im looking to use a select mysql query - but im trying to query the database against a users logged in sessions. I have the sessions working correctly but I am unsure how to included the session data in my sql select query. here is my users session … | |
I have been running this application for some time and have just recently begun to receive this error message. I would be eternally grateful if someone could shed some light on what causes this error or it's possible sideffects. [CODE]04/27/2010 00:06:16.016 [ERROR] com.ghd.domain.GHSessionFactory.createSession(GHSessionFactory.java:129) - An open thread session is being … | |
i have this php code below: i want to display users that are online . if they are not active the next 20 min then there name will not be displayed and there status will be turned OFF in th database table tng_users field status but i also want all … | |
hi all, i want to use curl to automatically login on behalf of a user & get the SessionID for that user. i will configure php to store the sessionID in the url instead in a cookie on the user's browser. once curl has login on behalf of the user, … | |
Hey All, How to get current user login values ? There is any Session variable or somethings like that ? | |
Hi All, I have [B]roundcube webmail,phpBB forum & wiki[/B] hosted on one machine using [B]apache virtual hosts[/B]. The problem is i have to log into each of the services(mail.domain.mu , forum.domain.mu ,wiki.domain.mu) to get access. All of the 3 sites uses LDAP for authentication and hence a user provides same … | |
hello friends, i am a newbie in php.. doing project for my college. doing it with a lot of help with this site n some others but stuck in the login page, it seems either there is some problem in databse connection or session registration.. when i put username n … | |
In my project i wanna use the last_insert_id() to be stored in a session variable and after that i wanna use that session variable i.e., the value of last_insert_id() in another page. How can i carry the last_insert_id() to some other page using session or storing it in a session … | |
i want to send value to another jsp page from sessions i add the attribute session=true in both jsp pages but i am getting error during running mode can u find any errors in code [B]try123.jsp[/B] [CODE]<% String val=(String)session.getAttribute("itemValue").toString(); %> <TD>IMAGE NAME</TD> <TD><INPUT TYPE=text NAME="img" VALUE="<%=val%>"></TD> </TR> <tr>[/CODE] [B]try.jsp[/B] [CODE]String … | |
Hey guys at DaniWeb! I have spent a lot of time debugging this PHP/AJAX page, and it finally (sort of) works. Index.php can read and write to processLogin.php so I have a page that can log you in without refreshing the page. However, I cant figure out how to set … | |
I have a web application that I upload an image to, the image is subsequently saved to the server's temp folder and displayed via a webhandler on the aspx page. the code for the aspx: [code]<img src="PreviewImageQualityHandler.ashx" alt="Picture not loaded" runat="server" id="imagePreview" />[/code] The code for uploading the picture and … | |
Hi, I'm using visual studio 2008 and it's built in development webserver, with C# as the codebehind language. I'm trying to make a simple webapp in which you click a button which sets a session var (that part is working) and in the pageload i'm checking to see if it's … | |
Hi all, i am designing a web interface for a system for which I was forced to use C for CGI application. as you all know, no session management in C, i am using cookies after normal validation. my issue is, with 2 or more people accessing the website from … | |
Hi, There's not much to add to the title... after I assign the complex object to the session object, the following response.redirect method stops working and hangs the development server. (I tried without it and it works great) maybe there is some considerations to care about session objects, I don't … | |
Hello friends! I'm just beginning with JavaScript (and Ajax). My loginscript now works with Ajax - that is; the script is sending a request to the servers PHP script to check username and password, but I wonder what that script should return - and how to use that response. Either … | |
Hi I'm making a login panel which sends data to the same page and I use a class made by me and called 'user' that stored user information and autentification. When I refresh the page I check if any session was created before (it was created at first successfull login … | |
i found that your supposed to use this: session.gc_maxlifetime but i dont know how. does anyone know how i can destroy a log in session so the user wont be logged in 30 minutes later. ? | |
![]() | Hi, I would like to know if it's possible to specify the "target='FrameName'" in response.sendRedirect("Home.jsp") by any chance? I tried this: [CODE] <!-- Security Check --> <form action="Login" target="_top"> <% if ((String) request.getSession(false).getAttribute("sessionStatus") == null) { response.sendRedirect("Login?pageTimeout=yes"); } %> </form> <!-- Security Check --> [/CODE] But it doesn't work... The … ![]() |
Hello, I know you probably get quite a few threads asking this, but the DaniWeb search didn't pull up what I was looking for. So here we go: I have a page that I've made as "private" by including my access control script at the top. The access control script … | |
Hi, Is there any way of storing some variables, say username for a particular session in ASP.NET. E.g, If we let a user login in a page, then I want him to stay logged in for all the pages he traverses on the server. Currently, I am trying Server.Transfer and … | |
I am new one for python web service. I need to switch the below java webservice client source code to python.Two services. One is systemService, the other is queueService. It needs to maintain session for queueService to use the connection to inews server in systemService . Who can help me? … |
The End.