Jump to content


Image Crud - uploading too many kills session variable


  • Please log in to reply
3 replies to this topic

#1 jrowe

jrowe

    Member

  • Members
  • PipPip
  • 23 posts

Posted 17 May 2013 - 12:51 PM

I have been using grocery crud + image crud together with tankauth to create a album storage area for images. It seemed to be working great until my gf tried to upload a whole folder worth of images ( like 100+ ). what happens is she logs in, creates an album (with grocery crud) then clicks a custom action to add images ( image crud with category - the album id ). It will upload about 30ish images then it will stop and send her to the log in screen..I suppose this is because the session variable is being destroyed. Is there any way that during the upload loop to refresh the session variables to prevent this ?

 

Is there a set size or limit of images that image crud can upload?



#2 davidoster

davidoster

    Grocery CRUD Ninja

  • Advanced Member
  • PipPipPip
  • 1,068 posts
  • LocationAthens, Greece

Posted 17 May 2013 - 11:42 PM

Hello jrowe.

What you ask has nothing to do with Grocery CRUD actually since GC doesn't come with a login/logout (users' system).

You need to check within the documentation of tankauth how it does the autoexpire.


____________________________________________________________

 

rtfm_small.jpg---!!!Please read these guidelines before asking to the forums!!!---

____________________________________________________________

 

David Oster aka George Pasparakis,
http://odphotography.com
http://eletter.gr


#3 Mathew Cherian

Mathew Cherian

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 17 October 2016 - 04:13 AM

I have the same problem. When more number of images are uploaded, the session (set using Codeigniter) gets destroyed.



#4 Mathew Cherian

Mathew Cherian

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 17 October 2016 - 04:46 AM

This might be helpful

http://stackoverflow...with-ajax-calls

 






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users