Snapey
Snapey
4 months ago (897,275 XP)

I'm saying to you that there is no redirection issue.

Its funny that you don't care that anyone can access your database.

are those real stripe keys or just for test?

How about your credentials for [email protected] ?

monum

@Snapey

i have added this in .htaccess to prevent .env for public access. Is this right solution to prevent this kind of access?

<FilesMatch "^."> Order allow,deny Deny from all

One question if you are saying that there is no redirection issue.

Then do you able to login or register on my website ?

Because Still i have same issue on my mac and windows as well.

Snapey
Snapey
4 months ago (897,275 XP)

ok, its not possible to login although I might have registered? The issue is that there are no session cookies being sent so the request to login etc comes in but cannot be linked to any previous activity.

monum

I have created a dummy form for testing.

http://www.xsdemo.com/requestbay/monu

    <form method="post" action="/requestbay/monuu">
      First name:<br>
      <input type="text" name="firstname" value="Mickey">
      <br>
      Last name:<br>
      <input type="text" name="lastname" value="Mouse">
      <br><br>
      <input type="submit" value="Submit">
    </form> 

    </body>
  </html>

And when it submitted it should go on this

Route::post('monuu', function(){ echo 'hi'; die; });

but i am on home page again without " echo 'Hi' "

Do we need session cookie here also?

if we are not using Auth here.

Snapey
Snapey
4 months ago (897,275 XP)

depends if you are catching csrf failures since you have no token in this form

monum

May be you are right . Then how to check my system is creating session cookie or not.

monum

I have changed in config/session.php

'path' = '/', to 'path' = '/requestbay/',

and there was an enter before <?php in web.php

and Done!!

Thanks for your support. @Snapey

Please sign in or create an account to participate in this conversation.