Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
_session
- Page 1
Re: ASUS Laptops - my experience
Hardware and Software
2 Weeks Ago
by Reverend Jim
I called Best Buy Friday morning to ask about the status of my laptop. I was told the average wait time was one minute. Fifteen minutes later I was told there were eight calls ahead of me and would I like to leave my number for a callback. I did so and after two more hours of waiting I called the local Best Buy direct. I was told my laptop would be…
Re: How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
3 Weeks Ago
by Hanginium65
Good day, Salem. My apologies for taking so long to reply to your suggestion. I refactored my code to read the contents of the tar.bz2 file and then pass them as a file-like object to the 'put_object' and also to change the content type for the file transfer to "application/octet-stream". The first was sent through to object storage …
Re: How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
3 Weeks Ago
by Salem
I don't understand why you need to extract all the files from the compressed `tar.bz2` just to upload to a backup. Also, line 69 is now meaningless having just posted only a snippet of the code. Before the error, what was the last `logger.info` message?
How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
1 Month Ago
by Hanginium65
I wrote a Python script that included the python-swiftclient module to connect to the OpenStack Object Storage and upload some files to the OpenStack Object Storage container It works great if I upload a file that ends with the extension .gz however, I’m getting an error regarding the ‘TarFile’ object having no attribute ‘read’ after running my …
How Do I address ERROR: access violation writing 0x0000000000005140,
Programming
Web Development
1 Month Ago
by A_957
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation exception that occurred within my application. This type of error apparently usually points to a problem where the code attempted to write to a protected …
Converting PDF Image to CSV Using Multimodal Google Gemini Pro
Programming
Computer Science
2 Months Ago
by usmanmalik57
In this article, you will learn to use [Google Gemini Pro](https://blog.google/technology/ai/google-gemini-ai/), a state-of-the-art multimodal generative model, to extract information from PDF and convert it to CSV files. You will use a simple text prompt to tell Google Gemini Pro about the information you want to extract. This is a valuable skill …
Re: ABC for Github-programs and Python
Programming
Software Development
1 Month Ago
by Reverend Jim
I have an apps folder on D: where I keep all my portable/homegrown software. Let's say I want to create a virtual enviromnent in `D:\apps\MyVirtual`. To do this I open a command shell and do D:\>cd apps D:\apps>python -m venv MyVirtual If I install any packages in this session, they will be installed in the virtual python. …
Re: How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
1 Month Ago
by Salem
First, let's prepare two tar files using different compression schemes for demo purposes. $ cat foo_1.txt This is file 1 $ cat foo_2.txt This is file 2 This is file two This is file too # Three tar files, two compressed and one uncompressed for reference $ tar -j -c -f foo.tar.bz2 foo_1.txt foo_2.txt…
Re: How Do I address ERROR: access violation writing 0x0000000000005140,
Programming
Web Development
1 Month Ago
by rproffitt
Python shouldn't create such an error. Reference https://www.reddit.com/r/learnpython/comments/kv83hc/error_code_exception_access_violation_writing_0x0/ I can't duplicate your issue but if this was mine I'd place a logging command in my python script at each step so I could nail down which line of code threw the error. Tutorial on that at …
Re: How Do I address ERROR: access violation writing 0x0000000000005140,
Programming
Web Development
1 Month Ago
by Dani
I don't have any python experience, sadly, but I am super awesome at jQuery. Once you solve this server-side problem at hand, if you find yourself with the jQ side of things not working, please don't hesitate to post.
Re: Accessing data over multiple JSF pages
Programming
Web Development
12 Years Ago
by peter_budo
Session
Re: Session -Creating and Deleting
Programming
Web Development
13 Years Ago
by paslanmaz
Session["Login"] = "true"; Creating selected if (Session["Login"] != null) Session["Login"].Abandon() Deleting
PHP SESSION Help
Programming
Web Development
11 Years Ago
by PriteshP23
Session is not working. When user do Sign IN or Sign UP, after that on every page (dashboard.php and configure.php) user email should be displayed. It is not displaying any error but it is not working. I have used md5 method for password. I have problem regarding set session. Let me know IF you have any idea. Thanks a lot in advanced. //…
Re: Session
Programming
Web Development
14 Years Ago
by sknake
Session.Abandon() is what you are looking for. You cant very well throw an error if the session has been abandoned because you don't have a place to store if it has been abandoned since you're clearing the session. Likewise when a client requests a new page it will start a new session -- how should the webserver know if the session is a new session…
Re: Session
Programming
Web Development
10 Years Ago
by pritaeas
Session start should be before **ANY** output, so before the `<!doctype>` tag.
Re: Session
Programming
Web Development
9 Years Ago
by tdrosiadis
Session.Clear() has worked fine for me.
Re: Image vs Session Variables
Programming
Software Development
12 Years Ago
by lolafuertes
Session variables are not intended to hold objects like images. IE: if the image has 8MB an was stored in a session variable, the server memory will be filled with the session cookie for this requests until the session expires or you clean the session variable. If a large number of requests are made to the server, the server memory will be …
Re: Storing variables for a particular session
Programming
Web Development
14 Years Ago
by Ramesh S
Session timeout is the amount of time, in minutes, allowed between requests before the ASP.NET session-state provider terminates the session. It means that, if you set the session timeout for 20 minutes, the session wil be timed out if your browse makes a request on or after 21st mintue (from the last postback/submit). Also if you close the …
Re: issue with radio button checked in session
Programming
Web Development
10 Years Ago
by pritaeas
`SESSION['answer']` may not have a value set yet. I suggest you do something like this: session_start(); if (isset($_POST['answer'])) $
_SESSION
['answer'] = $_POST['answer']; if (!isset($
_SESSION
['answer'])) $
_SESSION
['answer'] = 'no';
Session Not Working
Programming
Web Development
12 Years Ago
by dineshswamy
Session is not working everytime,but when i restart my machine everthing works fine .Why this happens?
Re: Session Variables a threat?
Programming
Software Development
18 Years Ago
by Letscode
Session variables run on the server side.Its not that easy to hack.You gotta hack the server to gain access to the session variables. Most people say not to use session variables just because it degrades the efficiency of the webpage. In my experience,session variables gave me a head ache in these cases. 1.In the middle of the application,…
Re: Session problem
Programming
Web Development
12 Years Ago
by prit005
Session.Remove("User"); hope so it works To remove all Session variable use Session.Removeall();
Re: session how can i handle?
Programming
Web Development
13 Years Ago
by 1seo
Session is use for handling information about user which is currently logged in.like his/her name,id,password or any kind of information ,that information will keep in session information until user will not clear session. you can handle session in vb.net i.e session("username")="joy" session("password")="clap&…
Re: session variables containing null on other page
Programming
Web Development
13 Years Ago
by javaAddict
session.setAttribute("[B]sessumobile[/B]", user1) session.getAttribute("[B]sesspassword[/B]")
Re: SESSION data
Programming
Web Development
10 Years Ago
by imBaCodes
Session is better to use than cookies for me. I always use it on my projects that ask the user to login. By using session you can checked every user who go to your page and you can also save logs just incase you want to track the user who login on your website.
Re: Session Java
Programming
Software Development
10 Years Ago
by stultuske
Session Java? what do you mean by that?
Re: What are the differences between session and cookies
Programming
Web Development
11 Years Ago
by PriteshP23
…; <!-- Session --> <?php session_start(); // store session data $
_SESSION
['views']=1; ?> <html> <body> <…;?php //retrieve session data echo "Pageviews=". $
_SESSION
['views']; ?> </body> </html>
Re: Session storing problem
Programming
Web Development
15 Years Ago
by dickersonka
session is only for the time the user has your site opened if you need expiry time after you close the browser, use cookies as architact stated
Re: session?global variables?
Programming
Web Development
10 Years Ago
by kvprajapati
>session?global variables? No. You have to use `Application` object. Post your code if possible.
Re: Expire Session
Programming
Web Development
14 Years Ago
by Ramesh S
Session.RemoveAll() and Session.Clear() are same. Both methods removes all keys and values from the session-state collection. But the current Session is not cancelled. That is Session.SessionID will be the same before and after calling these two methods. But Session.Abandon() will cancel the current Session. That is, Once the Abandon method is …
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC